I’m not a real fortran programmer, so if anyone has a proper answer (or workaround) to that question, i’m interested in any suggestion.
Let’s consider some fortran 77 code, where i would like to get the benefit of memory pinning for an array. Since i can’t just change a malloc to a call to cudaMallocHost, and that there is still no way to tell CUDA to pin a given interval of memory, is there any way to use pinned memory here ?
If more “modern” fortran standards supports dynamic memory allocation, you certainly understand that compiling old code as if it was fortran 90 may be a problem/a pain for some “real codes”.
Thanks for your time,