Is NVRTC unavailable for Win32?

310 views Asked by At

I'm running Python27 x32 and getting this error:

Could not load "nvrtc64_75.dll": %1 is not a valid Win32 application.

I've also tried with cuda8.

As I realized, NVRTC docs list x64 as a requirement:

NVRTC requires the following system configuration: Operating System: Linux x86_64, Linux ppc64le, Linux aarch64, Windows x86_64, or Mac OS X.

(nvrtc64_75.dll really does have 0x8664 in IMAGE_FILE_HEADER and 0x20b (pe32+) magic.)

I'm trying to use libgpuarray's pygpu with theano and I've previously built it with Win32 mingw.

My understanding now is that I'll need to install an x64 version of python and start from there. I know I could use conda instead and the docs in libgpuarray talk about msvc, btw. it worked with mingw so far.

Am I interpreting this right? Is NVRTC really have no working Win32 edition?

edit: got the same %1 is not a valid Win32 error with conda x32 and msvc (no real surprise here).

1

There are 1 answers

0
Robert Crovella On

Just as the documentation you linked indicates, NVRTC requires a 64-bit environment.