Why does cuCtxCreate return old context?

后端 未结 1 1974
死守一世寂寞
死守一世寂寞 2021-01-26 19:25

i have installed: CUDA sdk 4.2 64, CUDA toolkit 4.2 64, CUDA devdriver 4.2 64,

I checked every nvcuda.dll in \\windows - all of them, are 4.2 version, but when i create

相关标签:
1条回答
  • 2021-01-26 19:43

    I solved the problem - i was exporting "cuCtxCreate" function directly during execution(it is other language - no cuda.h). After looking in original cuda.h i found that it defines other name for that functrion, basing on some sort of smartass defines. And that new function "cuCtxCreate_v2" creates a good context.

    /facepalm

    0 讨论(0)
提交回复
热议问题