summaryrefslogtreecommitdiffstats
path: root/ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-21 17:19:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-21 17:19:04 +0000
commit310edf444908b09ea6d00c03baceb7925f3bb7a2 (patch)
tree7064577c7fa7a851e2e930beb606ea8237b0bbd2 /ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.tar.xz
netdata-310edf444908b09ea6d00c03baceb7925f3bb7a2.zip
Merging upstream version 1.45.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu')
-rw-r--r--ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu21
1 files changed, 0 insertions, 21 deletions
diff --git a/ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu b/ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu
deleted file mode 100644
index fb1ffe0da..000000000
--- a/ml/dlib/dlib/cmake_utils/test_for_cuda/cuda_test.cu
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (C) 2015 Davis E. King (davis@dlib.net)
-// License: Boost Software License See LICENSE.txt for the full license.
-
-#include "cuda_utils.h"
-#include "cuda_dlib.h"
-
-
-// ------------------------------------------------------------------------------------
-
-__global__ void cuda_add_arrays(const float* a, const float* b, float* out, size_t n)
-{
- out[0] += a[0]+b[0];
-}
-
-void add_arrays()
-{
- cuda_add_arrays<<<512,512>>>(0,0,0,0);
-}
-
-// ------------------------------------------------------------------------------------
-