/home/runner/work/HiCR/HiCR/include/hicr/backends/lpf/common.hpp File Reference

HiCR: /home/runner/work/HiCR/HiCR/include/hicr/backends/lpf/common.hpp File Reference
HiCR
common.hpp File Reference

Provides utilities commonly used across the LPF backend. More...

Go to the source code of this file.

Macros

#define CHECK(f...)    if (f != LPF_SUCCESS) { HICR_THROW_RUNTIME("LPF Backend Error: '%s'", #f); }
 

Detailed Description

Provides utilities commonly used across the LPF backend.

Author
K. Dichev, O. Korakitis
Date
18/12/2024

Macro Definition Documentation

◆ CHECK

#define CHECK (   f...)     if (f != LPF_SUCCESS) { HICR_THROW_RUNTIME("LPF Backend Error: '%s'", #f); }

CHECK(f...) Checks if an LPF function returns LPF_SUCCESS, else it prints an error message