Skip to content

Commit a3f381a

Browse files
committed
up
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
1 parent ce9e7bd commit a3f381a

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
#define _CG_ABI_EXPERIMENTAL
3+
4+
#include <cuda.h>
5+
#include "cooperative_groups.h"
6+
7+
void test() {
8+
cooperative_groups::experimental::block_tile_memory<1, 1> mem;
9+
10+
// Start
11+
cooperative_groups::thread_block tb =
12+
cooperative_groups::experimental::this_thread_block();
13+
// End
14+
15+
16+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
#define _CG_ABI_EXPERIMENTAL
3+
#include <cuda.h>
4+
#include "cooperative_groups.h"
5+
6+
void test(cooperative_groups::thread_block tb) {
7+
cooperative_groups::experimental::block_tile_memory<1, 1> mem;
8+
9+
// Start
10+
cooperative_groups::thread_block_tile<32> tbt32 = cooperative_groups::experimental::tiled_partition<32>(tb/*cooperative_groups::thread_block*/);
11+
// End
12+
}

0 commit comments

Comments
 (0)