Ignore:
Timestamp:
Aug 17, 2016, 1:56:15 PM (3 years ago)
Author:
lindanl
Message:

Bug fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/CudaDriver.h

    r5128 r5129  
    7171
    7272  //Copy from host to device
    73   checkCudaErrors(cuMemcpyHtoD(devBufferInput, fileBuffer, filesize));
     73  checkCudaErrors(cuMemcpyHtoD(devBufferInput, fileBuffer, bufferSize));
    7474  checkCudaErrors(cuMemcpyHtoD(devBufferSize, &filesize, sizeof(ulong)));
    7575
Note: See TracChangeset for help on using the changeset viewer.