1 #ifndef HALIDE_TEST_RUNTIME_COMMON_H_ 2 #define HALIDE_TEST_RUNTIME_COMMON_H_ 14 #define HALIDE_CHECK(user_context, cond) \ 17 halide_print(user_context, __FILE__ ":" _halide_expand_and_stringify(__LINE__) " HALIDE_CHECK() failed: " #cond "\n"); \ 22 #endif // HALIDE_TEST_RUNTIME_COMMON_H_ void * allocate_system(void *user_context, size_t bytes)
size_t get_allocated_system_memory()
This file declares the routines used by Halide internally in its runtime.
void deallocate_system(void *user_context, void *aligned_ptr)