alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
Wait.hpp
Go to the documentation of this file.
1/* Copyright 2022 Benjamin Worpitz, Rene Widera, Bernhard Manfred Gruber
2 * SPDX-License-Identifier: MPL-2.0
3 */
4
5#pragma once
6
10
11namespace alpaka::trait
12{
13 //! The CPU device thread wait specialization.
14 //!
15 //! Blocks until the device has completed all preceding requested tasks.
16 //! Tasks that are enqueued or queues that are created after this call is made are not waited for.
17 template<>
27} // namespace alpaka::trait
#define ALPAKA_DEBUG_FULL_LOG_SCOPE
Definition Debug.hpp:62
The CPU device handle.
Definition DevCpu.hpp:56
#define ALPAKA_FN_HOST
Definition Common.hpp:40
ALPAKA_FN_HOST auto currentThreadWaitForDevice(TDev const &dev) -> void
The accelerator traits.
static ALPAKA_FN_HOST auto currentThreadWaitFor(DevCpu const &dev) -> void
Definition Wait.hpp:20
The thread wait trait.
Definition Traits.hpp:21