intel / intel/llvm

[SYCL] migrate max threads per multiprocessor in CUDA and HIP

Open
#7,997 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.