intel / intel/llvm

[SYCL] device resource limits.

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

Description

I find that some CUDA program sets stack sizes. Please suggest which SYCL functions could set device resource limits.

cudaDeviceGetLimit(&limit, cudaLimitStackSize);
cudaDeviceSetLimit(cudaLimitStackSize, limit * 12);

Without adjusting the stack size, the CUDA program will report illegal memory accesses.

Thanks.

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.