SWDEV-534207 fix order of kernel launch parameters when calling notifiedKernel in some tests: kernel<<<gridDim, blockDim>>> instead of kernel<<<blockDim, gridDim>>>. This was causing out of bounds accesses (#1860)

This commit is contained in:
Gerardo Hernandez
2025-11-25 06:37:47 +00:00
committed by GitHub
parent 6c31785eaf
commit c87014a54c
4 changed files with 29 additions and 29 deletions
@@ -87,7 +87,7 @@ TEST_CASE("Unit_hipMemPoolTrimTo_Positive_Basic") {
mempool.mempool(), stream.stream()));
int blocks = 2;
notifiedKernel<<<32, blocks, 0, stream.stream()>>>(alloc_mem1, notified);
notifiedKernel<<<blocks, 32, 0, stream.stream()>>>(alloc_mem1, notified);
hipMemPoolAttr attr;
attr = hipMemPoolAttrReleaseThreshold;