From 6091438ce15c1e854b58c9434839d446d1322ed9 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Fri, 15 Jan 2021 15:39:38 +0100
Subject: [PATCH] Adds a gpu test job.

---
 .gitlab-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d08267722..f71963fa7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -230,6 +230,22 @@ gcc_9_python_bindings_test:
 ###############################################################################
 ##                            Benchmark                                      ##
 ###############################################################################
+nvidia_test:
+  stage: benchmark
+
+  needs: []
+
+  tags:
+    - gpu
+    - linux
+
+  image: "nvidia/cuda:11.1.1-devel-ubuntu16.04"
+
+  script:
+  - echo NVIDIA_VISIBLE_DEVICES=${NVIDIA_VISIBLE_DEVICES}
+  - nvidia-smi
+
+
 gpu_numerical_tests:
   stage: benchmark
 
-- 
GitLab