         printf("\n");
     }*/
     
-    // Save block from shared memory to global memory
-    for ( int i = 0; i < 16; i++ ) {
-        ((double*)data_output)[i] = ((double*)s_data_output)[16 * threadIdx.x + i];
-    }
-
     return 0;
 }
 

    assert(comp_count >= 1 && comp_count <= GPUJPEG_MAX_COMPONENT_COUNT);
    
    // Run kernel
    dim3 thread(THREAD_BLOCK_SIZE);
    dim3 grid(gpujpeg_div_and_round_up(decoder->segment_count, thread.x));
    gpujpeg_huffman_decoder_decode_kernel<<<grid, thread>>>(
        coder->d_component, 

#include "gpujpeg_huffman_gpu_decoder.h"
#include "gpujpeg_util.h"


#ifdef GPUJPEG_HUFFMAN_CODER_TABLES_IN_CONSTANT
/** Allocate huffman tables in constant memory */
