EXSWHTEC-350 - Implement tests for hipModuleLaunchCooperativeKernel #429

Change-Id: I42342c7d4cceed67990f603cd83473fe76e7f856
Этот коммит содержится в:
Mirza Halilčević
2023-12-28 14:47:48 +01:00
коммит произвёл Rakesh Roy
родитель 39bd6bcac6
Коммит 303836a7fd
5 изменённых файлов: 453 добавлений и 0 удалений
+6
Просмотреть файл
@@ -20,6 +20,7 @@ THE SOFTWARE.
*/
#include <hip/hip_runtime.h>
#include <hip/hip_cooperative_groups.h>
extern "C" {
__global__ void NOPKernel() {}
@@ -34,4 +35,9 @@ __global__ void Delay(uint32_t interval, const uint32_t ticks_per_ms) {
}
}
}
__global__ void CoopKernel() {
cooperative_groups::grid_group grid = cooperative_groups::this_grid();
grid.sync();
}
}