Fixed segmentation fault
MODIFY
thrust/system/hip/detail/copy_if.h
thrust/system/hip/detail/copy_if.h
@@ -166,7 +166,7 @@ namespace __copy_if
void *ptr = static_cast<void*>(tmp.data().get());
size_type* d_num_selected_out
- = reinterpret_cast<size_type*>(reinterpret_cast<size_type*>(ptr) + temp_storage_bytes);
+ = reinterpret_cast<size_type*>(reinterpret_cast<char*>(ptr) + temp_storage_bytes);
hip_rocprim::throw_on_error(rocprim::select(ptr,
temp_storage_bytes,

Fixed segmentation fault