24 #ifndef ARM_COMPUTE_GPUTARGET_H 25 #define ARM_COMPUTE_GPUTARGET_H 61 static constexpr
bool value =
true;
95 template <
typename... Args>
98 return (target_to_check == target) |
gpu_target_is_in(target_to_check, targets...);
104 return target_to_check == target;
static constexpr bool value
Disabled.
Disable bitwise operations by default.
GPUTarget get_target_from_name(const std::string &device_name)
Helper function to get the GPU target from a device name.
GPUTarget get_arch_from_target(GPUTarget target)
Helper function to get the GPU arch.
const std::string & string_from_target(GPUTarget target)
Translates a given gpu device target to string.
Copyright (c) 2017-2021 Arm Limited.
GPUTarget
Available GPU Targets.
bool gpu_target_is_in(GPUTarget target_to_check, GPUTarget target, Args... targets)
Helper function to check whether a gpu target is equal to the provided targets.