Add simple device-side assert macro
Currently swallows asserts but will compile.
Bu işleme şunda yer alıyor:
1 ebeveyn
76820409a8
işleme
ecd8179a71
2 files changed
+13
No files matched your search
@@ -59,6 +59,8 @@ __device__ void integer_intrinsics()
|
||||
__umulhi((unsigned int)1, (unsigned int)2);
|
||||
__urhadd((unsigned int)1, (unsigned int)2);
|
||||
__usad((unsigned int)1, (unsigned int)2, 0);
|
||||
|
||||
assert(1);
|
||||
}
|
||||
|
||||
__global__ void compileIntegerIntrinsics(hipLaunchParm lp, int ignored)
|
||||
|
||||
Reference in new issue
Bir kullanıcı engelle