We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e14bd7 commit fc54d6bCopy full SHA for fc54d6b
src/gpujpeg_huffman_gpu_encoder.cu
@@ -579,7 +579,7 @@ gpujpeg_huffman_encoder_compaction_kernel (
579
580
// get info about the segment
581
const unsigned int segment_byte_count = (d_segment[segment_idx].data_compressed_size + 15) & ~15; // number of bytes rounded up to multiple of 16
582
- const unsigned int segment_in_offset = d_segment[segment_idx].data_temp_index; // this should be aligned at least to 16byte boundary
+ const size_t segment_in_offset = d_segment[segment_idx].data_temp_index; // this should be aligned at least to 16byte boundary
583
584
// first thread of each warp reserves space in output buffer
585
if(0 == threadIdx.x) {
0 commit comments