alpaka
Abstraction Library for Parallel Kernel Acceleration
Check.hpp File Reference
#include "alpaka/core/Sycl.hpp"
#include <cstdio>

Go to the source code of this file.

Macros

#define ALPAKA_CHECK(success, expression)
 

Macro Definition Documentation

◆ ALPAKA_CHECK

#define ALPAKA_CHECK (   success,
  expression 
)
Value:
do \
{ \
if(!(expression)) \
{ \
printf("ALPAKA_CHECK failed because '!(%s)'\n", #expression); \
success = false; \
} \
} while(0)

Definition at line 11 of file Check.hpp.