Skip to content

Commit 48b0e66

Browse files
committed
Add comment specifying need for work-around in accumulators
1 parent 47239cd commit 48b0e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpctl/tensor/libtensor/include/kernels/accumulators.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ template <typename srcTy, typename dstTy> struct CastTransformer
8686

8787
template <typename ScanOpT, typename T> struct needs_workaround
8888
{
89+
// work-around needed due to crash in JITing on CPU
8990
static constexpr bool value =
9091
std::is_same_v<ScanOpT, sycl::logical_or<T>> ||
9192
std::is_same_v<ScanOpT, sycl::logical_and<T>>;

0 commit comments

Comments
 (0)