Add simple device-side assert macro

Currently swallows asserts but will compile.
Este commit está contenido en:
Ben Sander
2017-03-17 10:25:56 -05:00
padre c6de5b92b5
commit c9f64bbd2d
Se han modificado 2 ficheros con 13 adiciones y 0 borrados
@@ -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)