intel / intel/llvm

[SYCL] migrate max grid sizes in CUDA and HIP

Open
#7,899 9 comments 0 reactions 0 assignees View on GitHub
confirmed enhancement
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

Is there a device info descriptor for the max grid sizes ? Thanks.

```
#include
#include
int main(){
cudaDeviceProp devProp;
cudaGetDeviceProperties(&devProp, 0);
printf("%d\n", devProp.maxGridSize[0]);
printf("%d\n", devProp.maxGridSize[1]);
printf("%d\n", devProp.maxGridSize[2]);
}
```

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.