24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_VALIDATE_H
25 #define ARM_COMPUTE_CL_VALIDATE_H
32 #define ARM_COMPUTE_ERROR_ON_F16_UNSUPPORTED(tensor) \
33 ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_fp16(__func__, __FILE__, __LINE__, tensor, \
34 CLKernelLibrary::get().fp16_supported()))
36 #define ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(tensor) \
37 ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_fp16(__func__, __FILE__, __LINE__, tensor, \
38 CLKernelLibrary::get().fp16_supported()))
54 "Atomic functions are not supported");
59 #define ARM_COMPUTE_ERROR_ON_INT64_BASE_ATOMICS_UNSUPPORTED() \
60 ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_int64_base_atomics(__func__, __FILE__, __LINE__));
62 #define ARM_COMPUTE_RETURN_ERROR_ON_INT64_BASE_ATOMICS_UNSUPPORTED() \
63 ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_int64_base_atomics(__func__, __FILE__, __LINE__));
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
arm_compute::Status error_on_unsupported_int64_base_atomics(const char *function, const char *file, const int line)
Return an error if int64_base_atomics extension is not supported by the device.
Copyright (c) 2017-2024 Arm Limited.
#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line, msg)
Creates an error on location with a given message.
@ UNSUPPORTED_EXTENSION_USE
Unsupported extension used.