Home
last modified time | relevance | path

Searched refs:ARM_COMPUTE_ERROR_ON_MSG (Results 1 – 25 of 109) sorted by relevance

12345

/external/ComputeLibrary/src/runtime/
DPoolManager.cpp41ARM_COMPUTE_ERROR_ON_MSG(_free_pools.empty() && _occupied_pools.empty(), "Haven't setup any pools!… in lock_pool()
45ARM_COMPUTE_ERROR_ON_MSG(_free_pools.empty(), "Empty pool must exist as semaphore has been signall… in lock_pool()
52ARM_COMPUTE_ERROR_ON_MSG(_free_pools.empty() && _occupied_pools.empty(), "Haven't setup any pools!… in unlock_pool()
59ARM_COMPUTE_ERROR_ON_MSG(it == std::end(_occupied_pools), "Pool to be unlocked couldn't be found!"… in unlock_pool()
67ARM_COMPUTE_ERROR_ON_MSG(!_occupied_pools.empty(), "All pools should be free in order to register … in register_pool()
79ARM_COMPUTE_ERROR_ON_MSG(!_occupied_pools.empty(), "All pools should be free in order to release o… in release_pool()
99ARM_COMPUTE_ERROR_ON_MSG(!_occupied_pools.empty(), "All pools should be free in order to clear the… in clear_pools()
DMemoryManagerOnDemand.cpp37 ARM_COMPUTE_ERROR_ON_MSG(!_lifetime_mgr, "Lifetime manager not specified correctly!"); in MemoryManagerOnDemand()
38 ARM_COMPUTE_ERROR_ON_MSG(!_pool_mgr, "Pool manager not specified correctly!"); in MemoryManagerOnDemand()
55ARM_COMPUTE_ERROR_ON_MSG(!_lifetime_mgr->are_all_finalized(), "All the objects have not been final… in populate()
56 ARM_COMPUTE_ERROR_ON_MSG(_pool_mgr->num_pools() != 0, "Pool manager already contains pools!"); in populate()
70 ARM_COMPUTE_ERROR_ON_MSG(!_pool_mgr, "Pool manager not specified correctly!"); in clear()
DIWeightsManager.cpp58ARM_COMPUTE_ERROR_ON_MSG(!are_weights_managed(weights), "Cannot run function. Weights are not mana… in run()
124ARM_COMPUTE_ERROR_ON_MSG(!are_weights_managed(weights), "Cannot acquire weights. Weights are not m… in acquire()
/external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/
DGpuKernelComponentGroup.cpp40 ARM_COMPUTE_ERROR_ON_MSG( in add_component()
277 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in get_tiles()
283 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in get_tile_for_tensor()
295 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in get_any_dst_tensor()
301 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in get_argument_tensors()
316 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in is_intermediate_tensor()
322 ARM_COMPUTE_ERROR_ON_MSG(!_finalized, "The component group must have been finalized."); in is_input_tensor()
/external/ComputeLibrary/arm_compute/core/
DHelpers.inl160ARM_COMPUTE_ERROR_ON_MSG(index < 0 || index >= num_elements, "Index has to be in [0, num_elements]…
161 ARM_COMPUTE_ERROR_ON_MSG(num_elements == 0, "Cannot create coordinate from empty shape!");
179 ARM_COMPUTE_ERROR_ON_MSG(num_elements == 0, "Cannot create linear index from empty shape!");
195ARM_COMPUTE_ERROR_ON_MSG(data_layout == DataLayout::UNKNOWN, "Cannot retrieve the dimension index …
198 ARM_COMPUTE_ERROR_ON_MSG(it == dims.cend(), "Invalid dimension for the given layout.");
204ARM_COMPUTE_ERROR_ON_MSG(data_layout == DataLayout::UNKNOWN, "Cannot retrieve the layout dimension…
206 ARM_COMPUTE_ERROR_ON_MSG(index >= dims.size(), "Invalid index for the given layout.");
DError.h417 #define ARM_COMPUTE_ERROR_ON_MSG(cond, msg) \ macro
456 #define ARM_COMPUTE_ERROR_ON_MSG(cond, msg) macro
467 ARM_COMPUTE_ERROR_ON_MSG(cond, #cond)
/external/ComputeLibrary/src/graph/
DGraphManager.cpp98 ARM_COMPUTE_ERROR_ON_MSG(workload.tasks.empty(), "Could not configure all nodes!"); in finalize_graph()
131 ARM_COMPUTE_ERROR_ON_MSG(it == std::end(_workloads), "Graph is not registered!"); in execute_graph()
155 ARM_COMPUTE_ERROR_ON_MSG(it == std::end(_workloads), "Graph is not registered!"); in invalidate_graph()
DUtils.cpp144ARM_COMPUTE_ERROR_ON_MSG(descriptor.layout == DataLayout::UNKNOWN, "Cannot retrieve the dimension … in get_dimension_size()
150ARM_COMPUTE_ERROR_ON_MSG(data_layout == DataLayout::UNKNOWN, "Cannot retrieve the dimension index … in get_dimension_idx()
224 ARM_COMPUTE_ERROR_ON_MSG(!handle, "Couldn't create backend handle!"); in configure_tensor()
/external/ComputeLibrary/src/runtime/CL/
DCLHelpers.cpp92 ARM_COMPUTE_ERROR_ON_MSG(platforms.size() == 0, "Couldn't find any OpenCL platform"); in select_preferable_platform()
133 ARM_COMPUTE_ERROR_ON_MSG(platform_devices.size() == 0, "Couldn't find any OpenCL device"); in create_opencl_context_and_device()
139 ARM_COMPUTE_ERROR_ON_MSG(err != CL_SUCCESS, "Failed to create OpenCL context"); in create_opencl_context_and_device()
DCLScheduler.cpp130 ARM_COMPUTE_ERROR_ON_MSG(err != CL_SUCCESS, "Failed to create OpenCL context"); in default_init()
167 ARM_COMPUTE_ERROR_ON_MSG(!_is_initialised, in enqueue_common()
DICLSimpleFunction.cpp45ARM_COMPUTE_ERROR_ON_MSG(!_kernel, "The child class didn't set the CL kernel or function isn't con… in run()
/external/ComputeLibrary/src/graph/detail/
DExecutionHelpers.cpp51 ARM_COMPUTE_ERROR_ON_MSG(!bool(status), status.error_description().c_str()); in validate_all_nodes()
67 ARM_COMPUTE_ERROR_ON_MSG(!handle, "Couldn't create backend handle!"); in configure_all_tensors()
80 ARM_COMPUTE_ERROR_ON_MSG(!tensor->handle(), "Tensor handle is not configured!"); in allocate_all_input_tensors()
93 ARM_COMPUTE_ERROR_ON_MSG(!tensor->handle(), "Tensor handle is not configured!"); in allocate_all_output_tensors()
/external/ComputeLibrary/src/graph/backends/
DBackendRegistry.cpp54 ARM_COMPUTE_ERROR_ON_MSG(!backend, "Requested backend doesn't exist!"); in get_backend()
55 ARM_COMPUTE_ERROR_ON_MSG(!backend->is_backend_supported(), "Requested backend isn't supported"); in get_backend()
/external/ComputeLibrary/src/graph/nodes/
DReorgLayerNode.cpp53ARM_COMPUTE_ERROR_ON_MSG((input_width % stride != 0), "The width of the input tensor must be a mul… in compute_output_descriptor()
54ARM_COMPUTE_ERROR_ON_MSG((input_height % stride != 0), "The height of the input tensor must be a m… in compute_output_descriptor()
/external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/template_writer/
DGpuKernelVariableTable.cpp37 ARM_COMPUTE_ERROR_ON_MSG(!tensor->has_valid_id(), "Tensor info with valid id expected"); in declare_variable()
55 ARM_COMPUTE_ERROR_ON_MSG( in declare_variable()
/external/ComputeLibrary/src/core/CL/
DCLUtils.cpp77ARM_COMPUTE_ERROR_ON_MSG(err != CL_SUCCESS, "Error during the creation of CL image from buffer"); in create_image2d_from_buffer()
87ARM_COMPUTE_ERROR_ON_MSG(supported_config.empty(), "Empty PostOp CL kernel support configuration i… in PostOpCLKernelUtils()
92ARM_COMPUTE_ERROR_ON_MSG(post_op_sequence.size() != post_op_slots.size(), "The number of PostOps m… in PostOpCLKernelUtils()
/external/ComputeLibrary/src/runtime/OMP/
DOMPScheduler.cpp58 ARM_COMPUTE_ERROR_ON_MSG(!kernel, "The child class didn't set the kernel"); in schedule_op()
59 ARM_COMPUTE_ERROR_ON_MSG(hints.strategy() == StrategyHint::DYNAMIC, in schedule_op()
/external/ComputeLibrary/src/cpu/operators/
DCpuMul.cpp56 ARM_COMPUTE_ERROR_ON_MSG(tensors.empty(), "No inputs provided"); in run()
79 ARM_COMPUTE_ERROR_ON_MSG(tensors.empty(), "No inputs provided"); in run()
/external/ComputeLibrary/tests/validation/reference/
DAccumulate.cpp60ARM_COMPUTE_ERROR_ON_MSG(alpha < 0.f || alpha > 1.f, "Weight (alpha) specified in accumulate_weigh… in accumulate_weighted()
82ARM_COMPUTE_ERROR_ON_MSG(shift > 15, "Shift in accumulate_squared must be within the range [0, 15]… in accumulate_squared()
/external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/template_writer/cl/
DClTemplateWriter.cpp64 ARM_COMPUTE_ERROR_ON_MSG(tags.find(pattern_found) == tags.end(), err.c_str()); in replace_tags()
117 ARM_COMPUTE_ERROR_ON_MSG(root_comp == nullptr, "No root component found"); in get_window()
136 ARM_COMPUTE_ERROR_ON_MSG(_components.empty(), "No components found"); in write_code()
/external/ComputeLibrary/tests/
DAssetsLibrary.cpp57ARM_COMPUTE_ERROR_ON_MSG(src.num_elements() != dst.num_elements(), "Input and output images must h… in rgb_to_luminance()
537 ARM_COMPUTE_ERROR_ON_MSG(typestr != expect_typestr, "Typestrings mismatch"); in validate_npy_header()
540ARM_COMPUTE_ERROR_ON_MSG(shape.size() != expect_shape.num_dimensions(), "Tensor ranks mismatch"); in validate_npy_header()
545 ARM_COMPUTE_ERROR_ON_MSG(expect_shape[i] != shape[i], "Tensor dimensions mismatch"); in validate_npy_header()
552ARM_COMPUTE_ERROR_ON_MSG(expect_shape[i] != shape[shape.size() - i - 1], "Tensor dimensions mismat… in validate_npy_header()
DUtils.h363ARM_COMPUTE_ERROR_ON_MSG(index < 0 || index >= num_elements, "Index has to be in [0, num_elements]…
364 ARM_COMPUTE_ERROR_ON_MSG(num_elements == 0, "Cannot create coordinate from empty shape");
390 ARM_COMPUTE_ERROR_ON_MSG(shape.total_size() == 0, "Cannot get index from empty shape");
391 ARM_COMPUTE_ERROR_ON_MSG(coord.num_dimensions() == 0, "Cannot get index of empty coordinate");
/external/ComputeLibrary/tests/validation/fixtures/
DDeconvolutionLayerFixture.h253 ARM_COMPUTE_ERROR_ON_MSG(kernel_size_x != kernel_size_y, "Only square kernels supported"); in setup()
274 ARM_COMPUTE_ERROR_ON_MSG(kernel_size_x != kernel_size_y, "Only square kernels supported"); in setup()
295 ARM_COMPUTE_ERROR_ON_MSG(kernel_size_x != kernel_size_y, "Only square kernels supported"); in setup()
318 ARM_COMPUTE_ERROR_ON_MSG(kernel_size_x != kernel_size_y, "Only square kernels supported"); in setup()
/external/ComputeLibrary/arm_compute/core/utils/misc/
DShapeCalculator.h130ARM_COMPUTE_ERROR_ON_MSG((input.tensor_shape()[idx_width] % stride != 0), "The width of the input … in compute_reorg_output_shape()
131ARM_COMPUTE_ERROR_ON_MSG((input.tensor_shape()[idx_height] % stride != 0), "The height of the inpu… in compute_reorg_output_shape()
762ARM_COMPUTE_ERROR_ON_MSG(input_data_layout != DataLayout::NHWC, "The data layout can only be NHWC"… in compute_indirect_buffer_shape()
763ARM_COMPUTE_ERROR_ON_MSG(desc.m0 <= 0 || desc.m0 > 8, "M0 can only be greater than 0 and less than… in compute_indirect_buffer_shape()
820ARM_COMPUTE_ERROR_ON_MSG((pooled_w < 1 || pooled_h < 1), "Calculated output dimension size is inva… in compute_pool_shape()
907ARM_COMPUTE_ERROR_ON_MSG(input0.num_dimensions() > 4, "The number of dimensions for the matrix A m… in compute_mm_shape()
908ARM_COMPUTE_ERROR_ON_MSG(is_interleaved_transposed && reshape_info.reinterpret_input_as_3d(), "The… in compute_mm_shape()
944ARM_COMPUTE_ERROR_ON_MSG(input0.num_dimensions() > 4, "The number of dimensions for the matrix A m… in compute_mm_shape()
982ARM_COMPUTE_ERROR_ON_MSG(input0.num_dimensions() > 4, "The number of dimensions for the matrix A m… in compute_mm_shape()
1517ARM_COMPUTE_ERROR_ON_MSG((output_width < 1 || output_height < 1 || output_depth < 1), "Calculated … in compute_pool3d_shape()
/external/ComputeLibrary/src/gpu/cl/operators/
DClQuantize.cpp52 ARM_COMPUTE_ERROR_ON_MSG(tensors.empty(), "No inputs provided"); in run()

12345