                     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 ) );
             }
         }
         if (TEST_MASK & ED)

                    d_read_data.read_stream(),
                    d_read_data.max_read_len(),
                    n_read_symbols,
                    nvbio::plain_view( d_ref_storage ),
                    ref_length,
                    nvbio::plain_view( score_dvec ) );
            }

            fprintf(stderr,"    %15s : ", "semi-global");

  #if defined(SSWLIB)
    std::vector<int8_t> unpacked_ref( ref_length );
    {
        ref_stream_type h_ref_stream( nvbio::raw_pointer( h_ref_storage ) );
        for (uint32 i = 0; i < ref_length; ++i)
            unpacked_ref[i] = h_ref_stream[i];
    }
