Bolt is a C++ template library optimized for GPUs. Bolt provides high-performance library implementations for common algorithms such as scan, reduce, transform, and sort.
Other
372
stars
65
forks
source link
Bolt1.2: bolt::cl::min_element and bolt::cl::max_element having issues while using device_vector with iterator. #213
This issue can be observed only with the bolt i,e, when calling bolt::min_element and bolt::max_element on device_vector. For std::min_element and std::max_element it is working fine.
This issue can be observed only with the bolt i,e, when calling bolt::min_element and bolt::max_element on device_vector. For std::min_element and std::max_element it is working fine.
CODE:
//code for BOLT_MIN_ELEMENT:
TEST(sanity_min_element_2bolt_cl_device_vect_loop, ints_loop){ int size = 10; bolt::cl::device_vector intStdVect (size);
bolt::cl::device_vector intBoltVect (size);
}
// code for BOLT_MAX_ELEMENT:
TEST(sanity_max_element_2bolt_cl_device_vect_loop, ints_loop){ int size = 10; bolt::cl::device_vector intStdVect (size);
bolt::cl::device_vector intBoltVect (size);
}