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, CLKernelLibrary::get().fp16_supported())) 35 #define ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(tensor) \ 36 ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_fp16(__func__, __FILE__, __LINE__, tensor, CLKernelLibrary::get().fp16_supported())) 55 #define ARM_COMPUTE_ERROR_ON_INT64_BASE_ATOMICS_UNSUPPORTED() \ 56 ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_int64_base_atomics(__func__, __FILE__, __LINE__)); 58 #define ARM_COMPUTE_RETURN_ERROR_ON_INT64_BASE_ATOMICS_UNSUPPORTED() \ 59 ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_int64_base_atomics(__func__, __FILE__, __LINE__)); Unsupported extension used.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Copyright (c) 2017-2021 Arm Limited.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context...
#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line, msg)
Creates an error on location with a given message.
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.