summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ExportPTX/kernelB.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/ExportPTX/kernelB.cu')
-rw-r--r--Tests/CudaOnly/ExportPTX/kernelB.cu3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CudaOnly/ExportPTX/kernelB.cu b/Tests/CudaOnly/ExportPTX/kernelB.cu
index 11872e4..be4613a 100644
--- a/Tests/CudaOnly/ExportPTX/kernelB.cu
+++ b/Tests/CudaOnly/ExportPTX/kernelB.cu
@@ -1,4 +1,7 @@
+#ifndef CUDA_PTX_COMPILATION
+# error "CUDA_PTX_COMPILATION define not provided"
+#endif
__global__ void kernelB(float* r, float* x, float* y, float* z, int size)
{