diff --git a/core/device_hooks/dpcpp_hooks.cpp b/core/device_hooks/dpcpp_hooks.cpp index d0f9ce0fc33..a08f1f608fb 100644 --- a/core/device_hooks/dpcpp_hooks.cpp +++ b/core/device_hooks/dpcpp_hooks.cpp @@ -149,7 +149,7 @@ namespace kernels { namespace dpcpp { -void destroy_event(sycl::event* event) GKO_NOT_COMPILED(cuda); +void destroy_event(sycl::event* event) GKO_NOT_COMPILED(dpcpp); } // namespace dpcpp diff --git a/core/device_hooks/hip_hooks.cpp b/core/device_hooks/hip_hooks.cpp index 40bffbdca92..50637f7b3f0 100644 --- a/core/device_hooks/hip_hooks.cpp +++ b/core/device_hooks/hip_hooks.cpp @@ -192,7 +192,7 @@ namespace hip { void reset_device(int device_id) GKO_NOT_COMPILED(hip); -void destroy_event(GKO_HIP_EVENT_STRUCT* event) GKO_NOT_COMPILED(cuda); +void destroy_event(GKO_HIP_EVENT_STRUCT* event) GKO_NOT_COMPILED(hip); } // namespace hip diff --git a/include/ginkgo/core/base/timer.hpp b/include/ginkgo/core/base/timer.hpp index 3df873456e8..d431afada51 100644 --- a/include/ginkgo/core/base/timer.hpp +++ b/include/ginkgo/core/base/timer.hpp @@ -144,6 +144,7 @@ class Timer { * * @param start the first time point (earlier) * @param end the second time point (later) + * * @return the difference between the time points in nanoseconds. */ virtual std::chrono::nanoseconds difference_async( @@ -154,6 +155,7 @@ class Timer { * kernels on the given executor. * * @param exec the executor to create a Timer for + * * @return CpuTimer for ReferenceExecutor and OmpExecutor, CudaTimer for * CudaExecutor, HipTimer for HipExecutor or DpcppTimer for * DpcppExecutor.