Is it possible to open cl in kernel mode os driver?

Discussion created by adamhsu on Nov 23, 2010
Latest reply on Dec 9, 2010 by nou

Hi, all

I am freshman for open cl. Now, I have one idea about to use open cl to caculate something on kernel mode os driver. I can link the opencl.lib (x86 or x86_64) into our driver image successfully but it will causes os blue screen when to load this driver image.

I don't know what happens and what I did is just to call clGetPlaformIDs function in our driver image. But, I can't make sure it is killer or not due to I can't set any breakpoint in our driver (it seems the driver image didn't load). But, everything is fine if NOT to call clGetPlaformIDs( ).

My question is

(1)Is it possible to use the open cl in any kernel mode os driver? If the answer is YES, how to do? Or, anything I missed in my step?

Thanks a lot.