added CudaAssert that acutally works