See:
Would be great to have this implemented in the driver. I figured this would be a better place to ask this than github issues
but please do correct me.
From the looks of it you’d just pass a CUFunction pointer to it?
Thanks!
See:
Would be great to have this implemented in the driver. I figured this would be a better place to ask this than github issues
but please do correct me.
From the looks of it you’d just pass a CUFunction pointer to it?
Thanks!
Hello
It is not in the runtime API, because in the runtime API, it requires pointers to kernel functions (for which there is no representation in Java).
But it already is in the driver API, with a slightly different name: [,%20int[],%20jcuda.driver.CUfunction,%20jcuda.driver.CUoccupancyB2DSize,%20long,%20int%29"]cuOccupancyMaxPotentialBlockSize](http://jcuda.org/jcuda/doc/jcuda/driver/JCudaDriver.html#cuOccupancyMaxPotentialBlockSize(int[). (I think I made some tests when these functions were introduced, but should probably extend them to a dedicated test/sample, they could indeed be handy).
bye