#include "Halide.h"
Go to the source code of this file.
◆ user_assert
Value:
#define _halide_internal_assertion(condition, flags)
_halide_internal_assertion is used to implement our assertion macros in such a way that the messages ...
Definition at line 10 of file test.h.
Referenced by Halide::Internal::Autoscheduler::approx_eq(), Halide::Internal::GeneratorOutputBase::as(), Halide::Internal::check_types(), Halide::Internal::enum_from_string(), Halide::evaluate(), Halide::evaluate_may_gpu(), Halide::Internal::Autoscheduler::expect(), Halide::Internal::Autoscheduler::expect_eq(), Halide::Realization::operator Buffer< T, Dims >(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator ImageParam(), Halide::Internal::GeneratorOutput_Buffer< T >::operator OutputImageParam(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator StubInputBuffer< T2 >(), Halide::Internal::GeneratorOutput_Buffer< T >::operator=(), Halide::Param< T >::operator=(), Halide::Tuple::operator[](), Halide::Tuple::operator[](), Halide::Param< T >::Param(), Halide::Internal::parse_scalar(), Halide::Param< T >::set(), Halide::Internal::GeneratorInput_Scalar< T >::set_estimate(), Halide::Param< T >::set_estimate(), Halide::Internal::GeneratorOutput_Buffer< T >::set_estimates(), Halide::Internal::GeneratorParam_Arithmetic< T >::set_from_string(), Halide::Internal::GeneratorParam_Bool< T >::set_from_string(), Halide::Internal::GeneratorParam_Enum< T >::set_from_string(), Halide::Internal::GeneratorParam_Arithmetic< T >::set_impl(), Halide::Internal::GeneratorBase::set_inputs(), Halide::Internal::GeneratorInput_Scalar< T >::TBaseToExpr(), Halide::Tuple::Tuple(), and Halide::Type::Type().
◆ EXPECT_EQ
#define EXPECT_EQ |
( |
| expected, |
|
|
| actual ) |
Value:expect_eq(__LINE__, expected, actual)
Definition at line 11 of file test.h.
◆ APPROX_EQ
#define APPROX_EQ |
( |
| expected, |
|
|
| actual, |
|
|
| epsilon ) |
Value:approx_eq(__LINE__, expected, actual, epsilon)
Definition at line 12 of file test.h.
◆ EXPECT
#define EXPECT |
( |
| expected | ) |
|
Value:expect(__LINE__, expected)
Definition at line 13 of file test.h.