summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/onednn-disable-gpu-tests.patch
blob: 746999a8dd7799ddd833010ea491689fa25f37c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 09bd5a7f6d279a7fab1ed16c8bf1c5d5531d2c97 Mon Sep 17 00:00:00 2001
From: Vinicius Monego <monego@posteo.net>
Date: Fri, 14 May 2021 02:28:22 -0300
Subject: [PATCH] Disable GPU tests.

---
 tests/gtests/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/gtests/CMakeLists.txt b/tests/gtests/CMakeLists.txt
index 1e763af..f3cdd20 100644
--- a/tests/gtests/CMakeLists.txt
+++ b/tests/gtests/CMakeLists.txt
@@ -169,9 +169,6 @@ function(register_gtest exe src)
     if(NOT DNNL_GPU_RUNTIME STREQUAL "NONE" AND NOT no_engine_param)
         add_dnnl_test(${exe}_cpu ${exe} COMMAND ${exe} --engine=cpu)
         maybe_configure_windows_test(${exe}_cpu TEST)
-
-        add_dnnl_test(${exe}_gpu ${exe} COMMAND ${exe} --engine=gpu)
-        maybe_configure_windows_test(${exe}_gpu TEST)
     else()
         add_dnnl_test(${exe} ${exe})
         maybe_configure_windows_test(${exe} TEST)
-- 
2.31.1