Target
Objective-C
NS_ENUM(int, Target) {
DNN_TARGET_CPU = 0,
DNN_TARGET_OPENCL = 0+1,
DNN_TARGET_OPENCL_FP16 = 0+2,
DNN_TARGET_MYRIAD = 0+3,
DNN_TARGET_VULKAN = 0+4,
DNN_TARGET_FPGA = 0+5,
DNN_TARGET_CUDA = 0+6,
DNN_TARGET_CUDA_FP16 = 0+7
}
Swift
enum Target : Int32
-
Declaration
Objective-C
DNN_TARGET_CPU = 0
Swift
case DNN_TARGET_CPU = 0
-
Declaration
Objective-C
DNN_TARGET_OPENCL = 0+1
Swift
case DNN_TARGET_OPENCL = 1
-
Declaration
Objective-C
DNN_TARGET_OPENCL_FP16 = 0+2
Swift
case DNN_TARGET_OPENCL_FP16 = 2
-
Declaration
Objective-C
DNN_TARGET_MYRIAD = 0+3
Swift
case DNN_TARGET_MYRIAD = 3
-
Declaration
Objective-C
DNN_TARGET_VULKAN = 0+4
Swift
case DNN_TARGET_VULKAN = 4
-
Declaration
Objective-C
DNN_TARGET_FPGA = 0+5
Swift
case DNN_TARGET_FPGA = 5
-
Declaration
Objective-C
DNN_TARGET_CUDA = 0+6
Swift
case DNN_TARGET_CUDA = 6
-
Declaration
Objective-C
DNN_TARGET_CUDA_FP16 = 0+7
Swift
case DNN_TARGET_CUDA_FP16 = 7