Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions examples/proteinsw/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
nvbio_module(proteinsw)

addsources(
proteinsw.cu
)

cuda_add_executable(proteinsw ${proteinsw_srcs})
cuda_add_executable(proteinsw proteinsw.cu)
target_link_libraries(proteinsw nvbio zlibstatic lz4 crcstatic ${SYSTEM_LINK_LIBRARIES})

cuda_add_executable(proteinsw_qp proteinsw_qp.cu)
target_link_libraries(proteinsw_qp nvbio zlibstatic lz4 crcstatic ${SYSTEM_LINK_LIBRARIES})
2 changes: 1 addition & 1 deletion examples/proteinsw/proteinsw_qp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ int main(int argc, char* argv[])
// and execute the batch alignment, on a GPU device
aln::batch_alignment_score(
aln::make_gotoh_aligner<aln::LOCAL,aln::TextBlockingTag>( scoring ),
make_concatenated_string_set( n_strings, thrust::make_constant_iterator<uint32>(0), (const uint32*)raw_pointer( d_pattern_offsets ) ),
make_concatenated_string_set( n_strings, (const uint8*)raw_pointer( d_pattern_strings ), (const uint32*)raw_pointer( d_pattern_offsets ) ),
make_concatenated_string_set( n_strings, (const uint8*)raw_pointer( d_text_strings ), (const uint32*)raw_pointer( d_text_offsets ) ),
sinks.begin(),
aln::DeviceThreadBlockScheduler<128,1>() );
Expand Down