Remove dead line from cuda code
This commit is contained in:
parent
ec8799c4db
commit
4cda93eff5
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user