[SYCL] migrate max threads per multiprocessor in CUDA and HIP
Open
cuda
enhancement
hip
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
Please see the code sample in CUDA. Users are not sure if they could compute the value in SYCL using an alternative way. Thanks.
```
cudaDeviceProp deviceProp;
cudaGetDeviceProperties(&deviceProp, Device);
const int mTpSM = deviceProp.maxThreadsPerMultiProcessor;
```
Contributor guide
Assessment
This issue has not been assessed yet.