win7 64bit crash in clGetContextInfo(..., CL_CONTEXT_PROPERTIES, ... )
I have been trying to compile pyopencl for windows 64 bit, so using msvc9 for 64 bit from the platform SDK. The problem boils down to a crash on clGetContextInfo which I've tried to reduce below. Can you confirm whether you also see the crash and whether it is my faulty code or a glitch in the SDK?
Thanks for your reply, I modified the code to check the context handle it seems OK. A call to get CL_CONTEXT_DEVICES also works using this handle. It came from a stripped down test case arising from a crash on the pyopencl test suite:
cl_int errcode_ret = -42;
// ... snip what is same as in original code attached above...