PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

difference between PVF and pgf90

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
RTLEE



Joined: 01 Mar 2006
Posts: 19

PostPosted: Tue Apr 20, 2010 9:40 am    Post subject: difference between PVF and pgf90 Reply with quote

Does Portland Visual Fortran for Windows (v10.4) support CUDA in the same way as the linux version? I have a simple code that works fine with pgf90 version 10.4 on linux, but I get an error, "copyin Symbol Memcpy FAILED:13" using PVF 10.4 on Windows.

Any ideas? Thanks,
Todd

Code:

module cudamod
   implicit none

   integer, device :: int_d(1)

   contains
   attributes(global) subroutine foo
   end subroutine foo
end module cudamod

program fcuda
   use cudafor
   use cudamod
   implicit none

   integer :: int_h(1)

   int_h = 0

   int_d = int_h
end program fcuda
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6206
Location: The Portland Group Inc.

PostPosted: Thu Apr 22, 2010 10:51 am    Post subject: Reply with quote

Hi Todd,

This is a known compiler error (TPR#16346) that only occurs on 32-bit Windows when copying array data from a host routine to a module's global data. I just increased the priority of this problem (you're the first external report of this problem) and hopefully we can have it fixed shortly.

The work around is to use 64-bit Windows.

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group