fix
This commit is contained in:
parent
86fcbaf0e5
commit
1f4154d756
@ -999,8 +999,8 @@ auto Reduce(Policy policy, InputIt first, InputIt second, Init init, Func reduce
|
|||||||
// Get the raw pointers for debugging
|
// Get the raw pointers for debugging
|
||||||
auto raw_begin = thrust::raw_pointer_cast(&*begin_it);
|
auto raw_begin = thrust::raw_pointer_cast(&*begin_it);
|
||||||
auto raw_end = thrust::raw_pointer_cast(&*end_it);
|
auto raw_end = thrust::raw_pointer_cast(&*end_it);
|
||||||
std::cerr << "Raw pointers - begin: " << static_cast<void*>(raw_begin)
|
std::cerr << "Raw pointers - begin: " << (const void*)raw_begin
|
||||||
<< ", end: " << static_cast<void*>(raw_end) << std::endl;
|
<< ", end: " << (const void*)raw_end << std::endl;
|
||||||
|
|
||||||
// Check if the pointers are valid device pointers
|
// Check if the pointers are valid device pointers
|
||||||
hipPointerAttribute_t attrs;
|
hipPointerAttribute_t attrs;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user