![]() |
Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
|
#include "compat.h"
Go to the source code of this file.
Macros | |
#define | arax_assert(EXPR) |
#define | arax_assert_obj(OBJ, TYPE) |
Functions | |
ARAX_CPP void | _arax_assert (int fail, const char *expr, const char *file, int line) |
ARAX_CPP void | _arax_assert_obj (void *obj, int type) |
#define arax_assert | ( | EXPR | ) |
Definition at line 7 of file arax_assert.h.
Referenced by _arax_assert_obj(), arax_accel_add_vaccel(), arax_accel_del_vaccel(), arax_accel_release(), arax_accel_set_physical(), arax_clean(), arax_data_allocate_remote(), arax_data_arg_init(), arax_data_get(), arax_data_init_aligned(), arax_data_input_init(), arax_data_memcpy(), arax_data_migrate_accel(), arax_data_output_init(), arax_data_ref(), arax_data_ref_offset(), arax_data_set(), arax_data_set_remote(), arax_exit(), arax_mmap(), ARAX_OBJ_DTOR_DECL(), ARAX_OBJ_DTOR_DECL(), arax_object_ref_dec(), arax_object_ref_dec_pre_locked(), arax_object_ref_inc(), arax_pipe_add_orphan_vaccel(), arax_pipe_get_available_size(), arax_pipe_get_orphan_vaccel(), arax_pipe_get_total_size(), arax_pipe_have_to_mmap(), arax_pipe_mark_unmap(), arax_pipe_size_dec(), arax_pipe_size_inc(), arax_plot_register_metric(), arax_proc_can_run_at(), arax_proc_get_functor(), arax_task_alloc(), arax_task_host_data(), arax_task_issue(), arax_task_wait_done(), arax_throttle_get_available_size(), arax_throttle_get_total_size(), arax_throttle_init(), arax_throttle_size_dec(), arax_throttle_size_inc(), conf_get(), conf_set(), utils_bitmap_free_bits(), utils_config_alloc_path(), utils_kv_set(), utils_queue_init(), utils_queue_pop(), utils_queue_push(), and utils_spinlock_unlock().
#define arax_assert_obj | ( | OBJ, | |
TYPE ) |
Definition at line 12 of file arax_assert.h.
Referenced by arax_accel_add_vaccel(), arax_accel_del_vaccel(), arax_accel_get_available_size(), arax_accel_get_name(), arax_accel_get_revision(), arax_accel_get_stat(), arax_accel_get_total_size(), arax_accel_inc_revision(), arax_accel_size_dec(), arax_accel_size_inc(), arax_data_allocate_remote(), arax_data_arg_init(), arax_data_deref(), arax_data_free(), arax_data_get(), arax_data_has_remote(), arax_data_input_init(), arax_data_memcpy(), arax_data_migrate_accel(), arax_data_output_init(), arax_data_set(), arax_data_set_accel(), arax_data_set_remote(), arax_data_size(), arax_data_stat(), ARAX_OBJ_DTOR_DECL(), ARAX_OBJ_DTOR_DECL(), ARAX_OBJ_DTOR_DECL(), arax_pipe_add_orphan_vaccel(), arax_pipe_get_orphan_vaccel(), arax_pipe_remove_orphan_vaccel(), arax_task_host_data(), arax_task_submit(), arax_vaccel_get_cid(), arax_vaccel_get_job_priority(), arax_vaccel_get_meta(), arax_vaccel_get_ordering(), arax_vaccel_get_stat(), arax_vaccel_queue(), arax_vaccel_queue_size(), arax_vaccel_set_cid(), arax_vaccel_set_job_priority(), arax_vaccel_set_meta(), and arax_vaccel_set_ordering().
ARAX_CPP void _arax_assert | ( | int | fail, |
const char * | expr, | ||
const char * | file, | ||
int | line ) |
Definition at line 12 of file arax_assert.c.
References ARAX_FILE_PREFIX_LEN, and system_backtrace().
ARAX_CPP void _arax_assert_obj | ( | void * | obj, |
int | type ) |
Definition at line 21 of file arax_assert.c.
References arax_assert, arax_ptr_valid(), and arax_object_s::type.