[CUDA ERROR]: Too many resources requested for launch
Closed this issue · 2 comments
liautumn commented
laugh12321 commented
你看看你用的显卡最大支持每个块有多少个线程,代码里是3232个,你改成1616试一下。
// dim3 blockSize(32, 32);
dim3 blockSize(16, 16);
liautumn commented
ok, 感谢
Closed this issue · 2 comments
你看看你用的显卡最大支持每个块有多少个线程,代码里是3232个,你改成1616试一下。
// dim3 blockSize(32, 32);
dim3 blockSize(16, 16);
ok, 感谢