The closer that we can get in dpctl seems to be max_compute_units but that does not seem to do the job, online documentation seems to suggest that the number of threads per compute unit can depend on the hardware and is not necessarily related to the sub group size.
While it seems that an exact value is impossible to have for reasons related to hardware architecture, at least an upper bound sound achievable ?
I'm looking for such upper bound to have a closer estimate to the quantity of global memory cache that would be required by some kernels that rely on caching to ensure maximum cache hit rate during execution.
The closer that we can get in
dpctlseems to bemax_compute_unitsbut that does not seem to do the job, online documentation seems to suggest that the number of threads per compute unit can depend on the hardware and is not necessarily related to the sub group size.While it seems that an exact value is impossible to have for reasons related to hardware architecture, at least an upper bound sound achievable ?
I'm looking for such upper bound to have a closer estimate to the quantity of global memory cache that would be required by some kernels that rely on caching to ensure maximum cache hit rate during execution.