Remove dead line from cuda code

This commit is contained in:
Tom Deakin 2015-07-31 14:09:48 +01:00
parent ec8799c4db
commit 4cda93eff5

View File

@ -162,7 +162,6 @@ int main(int argc, char *argv[])
// Check buffers fit on the device // Check buffers fit on the device
cudaDeviceProp props; cudaDeviceProp props;
cudaGetDeviceProperties(&props, deviceIndex); cudaGetDeviceProperties(&props, deviceIndex);
// if (props. < DATATYPE_SIZE*ARRAY_SIZE) throw badbuffersize();
if (props.totalGlobalMem < 3*DATATYPE_SIZE*ARRAY_SIZE) throw badmemsize(); if (props.totalGlobalMem < 3*DATATYPE_SIZE*ARRAY_SIZE) throw badmemsize();
// Create host vectors // Create host vectors