From: Daniel Arndt Date: Thu, 5 Aug 2021 18:05:34 +0000 (+0000) Subject: Update test putput for CUDA X-Git-Tag: v9.4.0-rc1~1103^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12627%2Fhead;p=dealii.git Update test putput for CUDA --- diff --git a/tests/cuda/array_view_access_data.debug.output b/tests/cuda/array_view_access_data.debug.output index b50cbe5806..358929351e 100644 --- a/tests/cuda/array_view_access_data.debug.output +++ b/tests/cuda/array_view_access_data.debug.output @@ -2,10 +2,11 @@ DEAL:: -------------------------------------------------------- An error occurred in file in function - dealii::ArrayView::value_type& dealii::ArrayView::operator[](std::size_t) const [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::CUDA; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] + dealii::ArrayView::value_type& dealii::ArrayView::operator[](std::size_t) const [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::CUDA; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] The violated condition was: (std::is_same::value) Additional information: - Accessing elements is only allowed if the data is stored in CPU memory! + Accessing elements is only allowed if the data is stored in CPU + memory! -------------------------------------------------------- diff --git a/tests/cuda/array_view_wrong_memory.debug.output b/tests/cuda/array_view_wrong_memory.debug.output index bc64f38489..47c0f0e3f3 100644 --- a/tests/cuda/array_view_wrong_memory.debug.output +++ b/tests/cuda/array_view_wrong_memory.debug.output @@ -4,22 +4,24 @@ DEAL::Testing device ArrayView with host memory DEAL:: -------------------------------------------------------- An error occurred in file in function - dealii::ArrayView::ArrayView(dealii::ArrayView::value_type*, std::size_t) [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::CUDA; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] + dealii::ArrayView::ArrayView(dealii::ArrayView::value_type*, std::size_t) [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::CUDA; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] The violated condition was: n_elements == 0 || internal::ArrayViewHelper::is_in_correct_memory_space( starting_element) Additional information: - The memory space indicated by the template parameter and the one derived from the pointer value do not match! + The memory space indicated by the template parameter and the one + derived from the pointer value do not match! -------------------------------------------------------- DEAL::Testing host ArrayView with device memory DEAL:: -------------------------------------------------------- An error occurred in file in function - dealii::ArrayView::ArrayView(dealii::ArrayView::value_type*, std::size_t) [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::Host; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] + dealii::ArrayView::ArrayView(dealii::ArrayView::value_type*, std::size_t) [with ElementType = unsigned int; MemorySpaceType = dealii::MemorySpace::Host; dealii::ArrayView::value_type = unsigned int; std::size_t = long unsigned int] The violated condition was: n_elements == 0 || internal::ArrayViewHelper::is_in_correct_memory_space( starting_element) Additional information: - The memory space indicated by the template parameter and the one derived from the pointer value do not match! + The memory space indicated by the template parameter and the one + derived from the pointer value do not match! -------------------------------------------------------- DEAL::Testing device ArrayView with device memory