I’ve migrated from FW 197.45 to 257.21 and my OpenCL program no longer works ( returns a mysterious CL_INVALID_BINARY error on clBuildProgram or acts strangely ).
I call clBuildProgram with these options:
-cl-fast-relaxed-math -cl-nv-verbose -DOPENCL_NVIDIA
and the program has 8 kernel functions.
The fist time my program is executed is Ok and the verbose log is coherent ( outputs # of registers used, etc…). The second time the app runs, the verbose log just contains this:
“Considering profile ‘compute_12’ for gpu=‘sm_12’ in ‘cuModuleLoadDataEx_4’”
( no info about registers or other data is retrieved )
Then, the program generates thrash output. Only works well the first time.
It’s like if you were using some kind of “binary blob” file cache and you weren’t cleaning or hashing it correctly…
With the previous 197.45 all works perfectly.
Pls, fix it.
I use Win7 x64, FW 257.21 WHQL and a GT 240.
thx