|
Blender V4.3
|
#include "testing/testing.h"#include "util/math.h"#include "util/system.h"#include "util/types.h"Go to the source code of this file.
Macros | |
| #define | INIT_FLOAT8_TEST |
| #define | compare_vector_scalar(a, b) |
| #define | compare_vector_vector(a, b) |
| #define | compare_vector_vector_near(a, b, abserror) |
| #define | basic_test_vv(a, b, op) |
| #define | basic_test_vf(a, b, op) |
Functions | |
| static CCL_NAMESPACE_BEGIN bool | validate_cpu_capabilities () |
| static vfloat8 | float8_a () |
| static vfloat8 | float8_b () |
| static vfloat8 | float8_c () |
| TEST (TEST_CATEGORY_NAME, float8_add_vv) | |
| TEST (TEST_CATEGORY_NAME, float8_sub_vv) | |
| TEST (TEST_CATEGORY_NAME, float8_mul_vv) | |
| TEST (TEST_CATEGORY_NAME, float8_div_vv) | |
| TEST (TEST_CATEGORY_NAME, float8_add_vf) | |
| TEST (TEST_CATEGORY_NAME, float8_sub_vf) | |
| TEST (TEST_CATEGORY_NAME, float8_mul_vf) | |
| TEST (TEST_CATEGORY_NAME, float8_div_vf) | |
| TEST (TEST_CATEGORY_NAME, float8_ctor) | |
| TEST (TEST_CATEGORY_NAME, float8_sqrt) | |
| TEST (TEST_CATEGORY_NAME, float8_min_max) | |
| TEST (TEST_CATEGORY_NAME, float8_shuffle) | |
Variables | |
| static const float | float_b = 1.5f |
Definition at line 66 of file util_float8_test.h.
Definition at line 59 of file util_float8_test.h.
Definition at line 47 of file util_float8_test.h.
Referenced by TEST().
Definition at line 55 of file util_float8_test.h.
| #define INIT_FLOAT8_TEST |
Definition at line 43 of file util_float8_test.h.
|
static |
Definition at line 28 of file util_float8_test.h.
References make_vfloat8().
|
static |
Definition at line 33 of file util_float8_test.h.
References make_vfloat8().
|
static |
Definition at line 38 of file util_float8_test.h.
References make_vfloat8().
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_add_vf | ) |
Definition at line 78 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_add_vv | ) |
Definition at line 74 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_ctor | ) |
Definition at line 84 of file util_float8_test.h.
References compare_vector_scalar, INIT_FLOAT8_TEST, and make_vfloat8().
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_div_vf | ) |
Definition at line 81 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_div_vv | ) |
Definition at line 77 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_min_max | ) |
Definition at line 99 of file util_float8_test.h.
References compare_vector_vector, float8_a(), float8_b(), INIT_FLOAT8_TEST, max, and min.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_mul_vf | ) |
Definition at line 80 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_mul_vv | ) |
Definition at line 76 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_shuffle | ) |
Definition at line 106 of file util_float8_test.h.
References compare_vector_vector, float8_a(), float8_b(), INIT_FLOAT8_TEST, and make_vfloat8().
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_sqrt | ) |
Definition at line 92 of file util_float8_test.h.
References compare_vector_vector, INIT_FLOAT8_TEST, make_vfloat8(), and sqrt().
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_sub_vf | ) |
Definition at line 79 of file util_float8_test.h.
| TEST | ( | TEST_CATEGORY_NAME | , |
| float8_sub_vv | ) |
Definition at line 75 of file util_float8_test.h.
|
static |
Definition at line 12 of file util_float8_test.h.
References system_cpu_support_avx2(), and system_cpu_support_sse42().
|
static |
Definition at line 72 of file util_float8_test.h.