Skip to content
Snippets Groups Projects
Commit 5ab4d9e2 authored by Leon Oostrum's avatar Leon Oostrum
Browse files

Add HIP launch bounds

parent 918bd29e
Branches amd-support
No related tags found
1 merge request!13Draft: AMD support
Pipeline #96887 passed
......@@ -764,6 +764,7 @@ extern "C" __global__
#ifdef __HIP__
// ToDo: add HIP launch bounds. Second parameters is different:
// min warps per execution unit instead of min blocks per SM
__launch_bounds__(NR_WARPS * warpSize, 1)
#else
__launch_bounds__(NR_WARPS * 32, NR_RECEIVERS_PER_BLOCK == 32 ? 4 : 2)
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment