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

Function num_elems_processed

src/cpu/kernels/CpuTransposeKernel.cpp:49–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47namespace
48{
49unsigned int num_elems_processed(size_t element_size)
50{
51 switch (element_size)
52 {
53 case 1:
54 return 8;
55 case 2:
56 return 4;
57 case 4:
58#ifdef __aarch64__
59 return 8;
60#else // __aarch64__
61 return 4;
62#endif // __aarch64__
63 default:
64 break;
65 }
66
67 ARM_COMPUTE_ERROR("Element size not supported");
68}
69
70void transpose_8bit_elements(const ITensor *in, ITensor *out, const Window &window)
71{

Callers 1

configureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected