                     d_read_data.read_stream(),
                     d_read_data.max_read_len(),
                     n_read_symbols,
-                    nvbio::plain_view( d_ref_storage ),
+                    nvbio::raw_pointer( d_ref_storage ),
                     ref_length,
-                    nvbio::plain_view( score_dvec ) );
+                    nvbio::raw_pointer( score_dvec ) );
             }
 
             fprintf(stderr,"    %15s : ", "semi-global");

    typedef PackedStream<uint32*,uint8,2,false> ref_stream_type;

    thrust::device_vector<uint32> d_ref_storage( h_ref_storage );
    ref_stream_type d_ref_stream( nvbio::plain_view( d_ref_storage ) );

    const uint32 batch_size = 256*1024;


                    d_read_data.read_stream(),
                    d_read_data.max_read_len(),
                    n_read_symbols,
                    nvbio::raw_pointer( d_ref_storage ),
                    ref_length,
                    nvbio::raw_pointer( score_dvec ) );
            }
        }
        if (TEST_MASK & ED)
