alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
include
alpaka
api
host
block
sync
Omp.hpp
Go to the documentation of this file.
1
/* Copyright 2024 René Widera
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include "
alpaka/core/common.hpp
"
8
9
#include <memory>
10
#include <optional>
11
12
namespace
alpaka::onAcc
13
{
14
namespace
cpu
15
{
16
17
#if ALPAKA_OMP
18
struct
OmpSync
19
{
20
void
operator()()
const
21
{
22
# pragma omp barrier
23
}
24
};
25
#endif
26
}
// namespace cpu
27
}
// namespace alpaka::onAcc
common.hpp
alpaka::onAcc::cpu
Definition
SharedStorage.hpp:21
alpaka::onAcc
functionality which is usable on the accelerator compute device from within a kernel.
Definition
executor.hpp:38
Generated on
for alpaka by
1.16.1