From 5a2a31b12591abf07000de418b1dba869573806c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Szil=C3=A1rd=20P=C3=A1ll?= Date: Mon, 12 Apr 2021 11:52:20 +0200 Subject: [PATCH] Workaround for compilation with hipSYCL 0.9.1 --- src/gromacs/gpu_utils/devicebuffer_sycl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gromacs/gpu_utils/devicebuffer_sycl.h b/src/gromacs/gpu_utils/devicebuffer_sycl.h index 187b7cf931..68d245337f 100644 --- a/src/gromacs/gpu_utils/devicebuffer_sycl.h +++ b/src/gromacs/gpu_utils/devicebuffer_sycl.h @@ -123,7 +123,7 @@ DeviceBuffer& DeviceBuffer::operator=(std::nullptr_t nullPtr) namespace gmx::internal { //! Shorthand alias to create a placeholder SYCL accessor with chosen data type and access mode. -template +template using PlaceholderAccessor = cl::sycl::accessor; } // namespace gmx::internal @@ -139,7 +139,7 @@ using PlaceholderAccessor = * \tparam T Type of buffer content. * \tparam mode Access mode. */ -template +template class DeviceAccessor : public gmx::internal::PlaceholderAccessor { public: @@ -212,7 +212,7 @@ struct EmptyClassThatIgnoresConstructorArguments * \tparam mode Access mode of the accessor * \tparam enabled Compile-time flag indicating whether we want to actually create an accessor. */ -template +template using OptionalAccessor = std::conditional_t, gmx::internal::EmptyClassThatIgnoresConstructorArguments>; -- 2.22.0