EXSWHTEC-115 - Implement tests for hipLaunchCooperativeKernel APIs #59

Change-Id: I5bda5ee3787a73aeeab5c25c05278e7aa2f8bfa2


[ROCm/hip-tests commit: 380ace735f]
This commit is contained in:
Mirza Halilčević
2023-12-28 19:31:47 +01:00
committed by Rakesh Roy
parent b66fc2b672
commit f3a4512a78
7 changed files with 369 additions and 13 deletions
@@ -23,5 +23,15 @@ THE SOFTWARE.
#include "execution_control_common.hh"
#include <hip_test_common.hh>
#include <hip/hip_cooperative_groups.h>
__global__ void kernel() {}
__global__ void kernel() {}
__global__ void kernel2() {}
__global__ void kernel_42(int* val) { *val = 42; }
__global__ void coop_kernel() {
cooperative_groups::grid_group grid = cooperative_groups::this_grid();
grid.sync();
}