alpaka
Abstraction Library for Parallel Kernel Acceleration
Check.hpp
Go to the documentation of this file.
1
/* Copyright 2023 Benjamin Worpitz, Jan Stephan, Luca Ferragina, Aurora Perego
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include "
alpaka/core/Sycl.hpp
"
8
9
#include <cstdio>
10
11
#define ALPAKA_CHECK(success, expression) \
12
do \
13
{ \
14
if(!(expression)) \
15
{ \
16
printf("ALPAKA_CHECK failed because '!(%s)'\n"
, #expression); \
17
success = false; \
18
} \
19
} while(0)
Sycl.hpp
include
alpaka
test
Check.hpp
Generated on Thu Nov 21 2024 22:46:15 for alpaka by
1.9.1