Search found 3 matches

by victor_ramalho
Wed Jun 12, 2019 2:23 pm
Forum: Accelerator Programming
Topic: CUDA Fortran and CUDA C (with nvcc) error
Replies: 5
Views: 327

Re: CUDA Fortran and CUDA C (with nvcc) error

Tried "-Mcuda=cuda9.2,nordc", same error; and all with "-Mcuda=9.2" and "nvcc ... -rdc=true", still same error.

Just sent an email with a small code (CUFFT of an array of 5 samples), with the requested instructions. Thanks again.
by victor_ramalho
Wed Jun 12, 2019 12:13 pm
Forum: Accelerator Programming
Topic: CUDA Fortran and CUDA C (with nvcc) error
Replies: 5
Views: 327

Re: CUDA Fortran and CUDA C (with nvcc) error

Hello Mat, thanks for the reply. Does this run successfully as well? My answer below is assuming that the code can be successfully run. Yes Just to clarify, your not actually using any CUDA Fortran features right now but see this runtime error when adding the "-Mcuda" flag? Yes, exactly In this case...
by victor_ramalho
Tue Jun 11, 2019 2:43 pm
Forum: Accelerator Programming
Topic: CUDA Fortran and CUDA C (with nvcc) error
Replies: 5
Views: 327

CUDA Fortran and CUDA C (with nvcc) error

Hello, I am trying to run CUDA C CUFFT wrappers ("fortran_cufft1d.cu"), compiled with nvcc, in a main CUDA Fortran program ("fortran-test.f90") compiled with pgfortran. The program runs and prints out results, but shows the error free(): invalid pointer: 0x0000000000fbc510 *** ======= Backtrace: ===...