From 4cda93eff56299867e7dea91dfb70b7d56831de0 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Fri, 31 Jul 2015 14:09:48 +0100 Subject: [PATCH] Remove dead line from cuda code --- cuda-stream.cu | 1 - 1 file changed, 1 deletion(-) diff --git a/cuda-stream.cu b/cuda-stream.cu index cb4cbaa..f7cb6a9 100644 --- a/cuda-stream.cu +++ b/cuda-stream.cu @@ -162,7 +162,6 @@ int main(int argc, char *argv[]) // Check buffers fit on the device cudaDeviceProp props; cudaGetDeviceProperties(&props, deviceIndex); - // if (props. < DATATYPE_SIZE*ARRAY_SIZE) throw badbuffersize(); if (props.totalGlobalMem < 3*DATATYPE_SIZE*ARRAY_SIZE) throw badmemsize(); // Create host vectors