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.
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.