   #if defined(SSWLIB)
     std::vector<int8_t> unpacked_ref( ref_length );
     {
-        ref_stream_type h_ref_stream( nvbio::plain_view( h_ref_storage ) );
+        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];
     }

                    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 ) );
            }
        }


                    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 ) );
            }

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