MCPcopy Create free account
hub / github.com/Syncleus/aparapi / getKernelMaxWorkGroupSize

Method getKernelMaxWorkGroupSize

src/main/java/com/aparapi/Kernel.java:2974–2976  ·  view source on GitHub ↗

Retrieves the maximum work-group size allowed for this kernel when running on the specified device. @param device the device where the kernel is intended to run @return the preferred work group multiple @throws QueryFailedException if the query couldn't complete

(Device device)

Source from the content-addressed store, hash-verified

2972 * @throws QueryFailedException if the query couldn't complete
2973 */
2974 public int getKernelMaxWorkGroupSize(Device device) throws QueryFailedException {
2975 return prepareKernelRunner().getKernelMaxWorkGroupSize(device);
2976 }
2977
2978 /**
2979 * Retrieves the specified work-group size in the compiled kernel for the specified device or intermediate language for the device.

Callers 9

testInOutOnceMethod · 0.45
testAutoMethod · 0.45
testExplicitMethod · 0.45
testBarrier1Method · 0.45
testBarrier1ExplicitMethod · 0.45
testBarrier2Method · 0.45
testBarrier2ExplicitMethod · 0.45

Calls 1

prepareKernelRunnerMethod · 0.95

Tested by 9

testInOutOnceMethod · 0.36
testAutoMethod · 0.36
testExplicitMethod · 0.36
testBarrier1Method · 0.36
testBarrier1ExplicitMethod · 0.36
testBarrier2Method · 0.36
testBarrier2ExplicitMethod · 0.36