oclBandwidthTest Error oclBandwidthTest Error # -4

I am trying to get the oclBandwidthTest sample to run, but i get the following error:

[codebox]Running on…

Device GeForce 8600M GT

Quick Mode

!!! Error # -4 at line 726 , in file oclBandwidthTest.cpp !!!


I can see from the source that the error is regarding a function call to clEnqueueWriteBuffer, which returns error code -4, but i have no idea why or how to fix it.

Any help would be greatly appreciated…

btw. I should probably also mention that the samples that seem to run, do so very slowly, for instance the oclNbody sample runs excruciatingly slow, certainly not with the speed i would expect when running on GPU. So in other words something seems fishy somewhere…

Nevermind… I wen’t from version 2.3 to 3.0 and everything works now :)