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)
| 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. |