aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/TutorialSlicingIndexing.dox
diff options
context:
space:
mode:
authorGravatar Deven Desai <deven.desai.amd@gmail.com>2019-10-22 19:21:27 +0000
committerGravatar Deven Desai <deven.desai.amd@gmail.com>2019-10-22 19:21:27 +0000
commit102cf2a72d79b18f9e321ce37a58fb833ec2e578 (patch)
tree56fb9a0fa7a1b61bd69607596e8228d4ce41f1c3 /doc/TutorialSlicingIndexing.dox
parentdf0e8b81370f741c734e4f4187d029d6a8cb18f2 (diff)
Fix for the HIP build+test errors.
The errors were introduced by this commit : After the above mentioned commit, some of the tests started failing with the following error ``` Built target cxx11_tensor_reduction Building HIPCC object unsupported/test/CMakeFiles/cxx11_tensor_reduction_gpu_5.dir/cxx11_tensor_reduction_gpu_5_generated_cxx11_tensor_reduction_gpu.cu.o In file included from /home/rocm-user/eigen/unsupported/test/cxx11_tensor_reduction_gpu.cu:16: In file included from /home/rocm-user/eigen/unsupported/Eigen/CXX11/Tensor:117: /home/rocm-user/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorBlockV2.h:155:5: error: the field type is not amp-compatible DestinationBufferKind m_kind; ^ /home/rocm-user/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorBlockV2.h:211:3: error: the field type is not amp-compatible DestinationBuffer m_destination; ^ ``` For some reason HIPCC does not like device code to contain enum types which do not have the base-type explicitly declared. The fix is trivial, explicitly state "int" as the basetype
Diffstat (limited to 'doc/TutorialSlicingIndexing.dox')
0 files changed, 0 insertions, 0 deletions