Halide
testing.h File Reference
#include "Halide.h"
#include <cmath>
#include <exception>
#include <functional>
#include <iostream>

Go to the source code of this file.

Namespaces

 Testing
 

Functions

template<typename T >
bool Testing::neq (T a, T b, T tol)
 
template<typename T , typename F >
auto Testing::check_result (const Halide::Buffer< T > &buf, T tol, F f) -> decltype(std::declval< F >()(0, 0, 0), bool())
 
template<typename T , typename Func >
bool Testing::check_result (const Halide::Buffer< T > &buf, Func f)