1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #20175 from rogday:dnn_samples_cuda

add cuda and vulkan backends to dnn samples
This commit is contained in:
rogday
2021-06-01 17:00:51 +03:00
committed by GitHub
parent de781b306f
commit 61359a5bd0
13 changed files with 118 additions and 47 deletions
+7 -2
View File
@@ -78,12 +78,17 @@ int main(int argc, char**argv)
"0: automatically (by default), "
"1: Halide language (http://halide-lang.org/), "
"2: Intel's Deep Learning Inference Engine (https://software.intel.com/openvino-toolkit), "
"3: OpenCV implementation }"
"3: OpenCV implementation, "
"4: VKCOM, "
"5: CUDA }"
"{target t | 0 | Choose one of target computation devices: "
"0: CPU target (by default), "
"1: OpenCL, "
"2: OpenCL fp16 (half-float precision), "
"3: VPU }"
"3: VPU, "
"4: Vulkan, "
"6: CUDA, "
"7: CUDA fp16 (half-float preprocess) }"
);
if (argc == 1 || parser.has("help"))
{