EXSWHTEC-115 - Implement tests for hipLaunchCooperativeKernel APIs #59
Change-Id: I5bda5ee3787a73aeeab5c25c05278e7aa2f8bfa2
This commit is contained in:
committed by
Rakesh Roy
parent
3f65d7a410
commit
380ace735f
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user