NVIDIAGameWorks / FleX

Other
664 stars 100 forks source link

Error creating CUDA context. #24

Closed masenov closed 6 years ago

masenov commented 6 years ago

Hi, when I try to run the demo bin/linux64/NvFlexDemoReleaseCUDA_x64, I get the error:

Reshaping Error creating CUDA context.

Any idea what the issue might be? I tried with CUDA 7.5, 8.0 and 9.0 and I am still getting the same error...

masenov commented 6 years ago

I managed to fix this by commenting out line 3114 to 3132 in main.cpp. The problem was coming from the methods NvFlexDeviceGetSuggestedOrdinal() and NvFlexDeviceCreateCudaContext(device).