I am on Win 64, using 195.62. I tried to add on to a kernel that I have had for a while. I added a program scope, constant sampler, 3 functions, and an image2d_t arg to the kernel. The kernel conditionally calls one of the new functions, passing the image.
A call to clCreateProgramWithSource, sets errcode_ret to CL_SUCCESS. The call to clBuildProgram with the cl_program returned causes the access violation. I am calling from a Java VM. The beginning of the log file generated, below, shows the error in nvcompiler.dll
[codebox]# A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000004899d491, pid=6028, tid=4976
JRE version: 6.0_17-b04
Java VM: Java HotSpot™ 64-Bit Server VM (14.3-b01 mixed mode windows-amd64 )
I pulled the zip drive, where everything is stored out of the PC, & put it in a OSX machine. It compiles and runs, although the run time condition does not yet exist that actually gets the new code called. It does not just blow away my process, however.
Is there anyway someone can think of where this is not a bug? Any recommended problem isolation I should try?