samskalicky edited a comment on issue #13188: Fix launch bounds in spatial transformer URL: https://github.com/apache/incubator-mxnet/pull/13188#issuecomment-451001965 @ptrendx Can you add a comment in the code to make it clear that these launch bounds are required to be set this way to avoid the "too many resources requested for launch" error? Maybe something like: ``` /* * __launch_bounds__(cuda::kMaxThreadsPerBlock, 1) * This sets the number of threads per block to 1 which * reduces the number of register resources needed. * Running the kernel with more threads results in a * failure to launch (too many resources requested error). */ ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
