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

Function TEST_CASE

tests/validation/NEON/UNIT/RuntimeContext.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52#if defined(ARM_COMPUTE_OPENMP_SCHEDULER) && !defined(_WIN64) && !defined(BARE_METAL) && !defined(__APPLE__) && \
53 !defined(__OpenBSD__) && (defined(__arm__) || defined(__aarch64__)) && defined(__ANDROID__)
54TEST_CASE(CpuCapacity, framework::DatasetMode::ALL)
55{
56 CPUInfo &ci = arm_compute::Scheduler::get().cpu_info();
57 const uint32_t nonlittle_num_cpus = ci.get_cpu_num_excluding_little();
58 const uint32_t num_threads = arm_compute::Scheduler::get().num_threads();
59
60 ARM_COMPUTE_EXPECT(num_threads <= nonlittle_num_cpus, framework::LogLevel::ERRORS);
61}
62#endif /* defined(ARM_COMPUTE_OPENMP_SCHEDULER) && !defined(_WIN64) && !defined(BARE_METAL) && !defined(__APPLE__) && !defined(__OpenBSD__) && \
63 (defined(__arm__) || defined(__aarch64__)) && defined(__ANDROID__)*/
64

Callers

nothing calls this directly

Calls 15

AccessorClass · 0.85
asset_managerMethod · 0.80
set_schedulerMethod · 0.80
TensorShapeClass · 0.50
ActivationLayerInfoClass · 0.50
num_threadsMethod · 0.45
schedulerMethod · 0.45
getMethod · 0.45
configureMethod · 0.45
is_resizableMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected