Intrinsics: tests for TMC+Control Divergence
This commit is contained in:
@@ -22,3 +22,13 @@ unsigned vx_threadID(void);
|
||||
|
||||
// Get hardware warp ID
|
||||
unsigned vx_warpID(void);
|
||||
|
||||
|
||||
|
||||
#define __if(b) vx_split(b); \
|
||||
if (b) \
|
||||
|
||||
#define __else else
|
||||
|
||||
|
||||
#define __endif vx_join();
|
||||
@@ -27,6 +27,7 @@ vx_barrier:
|
||||
.global vx_split
|
||||
vx_split:
|
||||
.word 0x0005206b # split a0
|
||||
ret
|
||||
|
||||
.type vx_join, @function
|
||||
.global vx_join
|
||||
|
||||
Reference in New Issue
Block a user