Add simple device-side assert macro

Currently swallows asserts but will compile.
Tá an tiomantas seo le fáil i:
Ben Sander
2017-03-17 10:25:56 -05:00
tuismitheoir 76820409a8
tiomantas ecd8179a71
D'athraigh 2 comhad le 13 breiseanna agus 0 scriosta
+2
Féach ar an gComhad
@@ -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)