eigen/unsupported/Eigen/CXX11
Ben Barsdell 50df8d3d6d Avoid integer overflow in EigenMetaKernel indexing
- The current implementation computes `size + total_threads`, which can
  overflow and cause CUDA_ERROR_ILLEGAL_ADDRESS when size is close to
  the maximum representable value.
- The num_blocks calculation can also overflow due to the implementation
  of divup().
- This patch prevents these overflows and allows the kernel to work
  correctly for the full representable range of tensor sizes.
- Also adds relevant tests.
2021-11-05 16:39:37 +11:00
..
src Avoid integer overflow in EigenMetaKernel indexing 2021-11-05 16:39:37 +11:00
CMakeLists.txt
Tensor Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
TensorSymmetry Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
ThreadPool Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00