Powershell remoting together with GPU not working

Discussion created by dravisher on Nov 2, 2010
Latest reply on Nov 4, 2010 by En-you
Kind of exotic problem, but any ideas are welcome

I'm having trouble launching OpenCL programs using Windows Powershell remoting. Basically the remoting is working fine with all programs (including OpenCL programs targeting the CPU), but when I target the GPU the error code -1 is returned, which corresponds to device not found. So this returns with error code -1:

context = cl::Context::Context(CL_DEVICE_TYPE_GPU, cprops, NULL, NULL, &err);

While this works fine:

context = cl::Context::Context(CL_DEVICE_TYPE_CPU, cprops, NULL, NULL, &err);

Running exactly the same command locally on the PC in question works fine, so the GPU is correctly found and used except if the program is launced remotely.

I have made absolutely sure I am actually executing the commands remotely (so I'm not mistakenly running the commands on my laptop which has no GPU). When running on the CPU the program is actually running on my PC, not my laptop.

I think maybe it's too much to hope someone has the answer (is anyone even using Powershell remoting?), but any suggestions on what may be wrong would be welcome.