MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / TEST_CASE

Function TEST_CASE

tests/validation/cpu/unit/Context.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 * - Confirm that context is still nullptr
45 */
46TEST_CASE(CreateContextWithInvalidTarget, framework::DatasetMode::ALL)
47{
48 AclTarget invalid_target = static_cast<AclTarget>(-1);
49 AclContext ctx = nullptr;
50 ARM_COMPUTE_ASSERT(AclCreateContext(&ctx, invalid_target, nullptr) == AclStatus::AclUnsupportedTarget);
51 ARM_COMPUTE_ASSERT(ctx == nullptr);
52}
53
54/** Test-case for AclCreateContext
55 *

Callers

nothing calls this directly

Calls 6

AclCreateContextFunction · 0.85
has_neonMethod · 0.80
has_dotprodMethod · 0.45
has_i8mmMethod · 0.45
has_sve2Method · 0.45
has_fp16Method · 0.45

Tested by

no test coverage detected