     const uint8_t* const d_src,
     uint8_t* const d_dest
 ) {
-#if __CUDA_ARCH__ >= 110
+#if __CUDA_ARCH__ >= 200
     
     // get some segment (size of threadblocks is 32 x N, so threadIdx.y is warp index)
     const int block_idx = blockIdx.x + blockIdx.y * gridDim.x;

    if((threadIdx.x * 16) < (segment_byte_count & 511)) {
        *d_out = *d_in;
    }
#endif // #if __CUDA_ARCH__ >= 110
}


/** Adds packed coefficients into the GPU version of Huffman lookup table. */
void

    cudaThreadSynchronize();
    gpujpeg_cuda_check_error("Decomposition LUT initialization failed");
    
    // compose GPU version of the huffman LUT and copy it into GPU memory (for CC >= 2.0)
    uint32_t gpujpeg_huffman_cpu_lut[(256 + 1) * 4];
    gpujpeg_huffman_gpu_add_packed_table(gpujpeg_huffman_cpu_lut + 257 * 0, &encoder->table_huffman[GPUJPEG_COMPONENT_LUMINANCE][GPUJPEG_HUFFMAN_AC], true);
    gpujpeg_huffman_gpu_add_packed_table(gpujpeg_huffman_cpu_lut + 257 * 1, &encoder->table_huffman[GPUJPEG_COMPONENT_LUMINANCE][GPUJPEG_HUFFMAN_DC], false);
