added debug print states or rtl
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
.type vx_wspawn, @function
|
||||
.global vx_wspawn
|
||||
vx_wspawn:
|
||||
.word 0x00b5106b # wspawn a0(numWarps), a1(PC SPAWN)
|
||||
.word 0x00b5106b # wspawn a0(num_warps), a1(func_ptr)
|
||||
ret
|
||||
|
||||
.type vx_tmc, @function
|
||||
@@ -17,7 +17,7 @@ vx_tmc:
|
||||
.type vx_barrier, @function
|
||||
.global vx_barrier
|
||||
vx_barrier:
|
||||
.word 0x00b5406b # barrier a0(barrier id), a1(numWarps)
|
||||
.word 0x00b5406b # barrier a0(barrier_id), a1(num_warps)
|
||||
ret
|
||||
|
||||
.type vx_split, @function
|
||||
|
||||
@@ -1,20 +1,18 @@
|
||||
|
||||
#ifndef VX_INTRINSICS
|
||||
|
||||
#define VX_INTRINSICS
|
||||
#ifndef VX_INTRINSICS_H
|
||||
#define VX_INTRINSICS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Spawn warps
|
||||
void vx_wspawn(int numWarps, int PC_spawn);
|
||||
void vx_wspawn(int num_warps, unsigned func_ptr);
|
||||
|
||||
// Set thread mask
|
||||
void vx_tmc(int numThreads);
|
||||
void vx_tmc(int num_threads);
|
||||
|
||||
// Warp Barrier
|
||||
void vx_barrier(int barriedID, int numWarps);
|
||||
void vx_barrier(int barried_id, int num_warps);
|
||||
|
||||
// Split on a predicate
|
||||
void vx_split(int predicate);
|
||||
|
||||
Reference in New Issue
Block a user