Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
test.h File Reference
#include "Halide.h"

Go to the source code of this file.

Namespaces

namespace  Halide
 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
 
namespace  Halide::Internal
 
namespace  Halide::Internal::Autoscheduler
 

Macros

#define user_assert(c)
 
#define EXPECT_EQ(expected, actual)
 
#define APPROX_EQ(expected, actual, epsilon)
 
#define EXPECT(expected)
 

Functions

template<typename A , typename B >
void Halide::Internal::Autoscheduler::expect_eq (int line, const A &expected, const B &actual)
 
template<typename A , typename B >
void Halide::Internal::Autoscheduler::approx_eq (int line, const A &expected, const B &actual, float epsilon)
 
template<typename A >
void Halide::Internal::Autoscheduler::expect (int line, const A &expected)
 

Macro Definition Documentation

◆ user_assert

#define user_assert ( c)
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 Error.h:155

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.