From 672ffe130e0f24cdcca202b0891f4a9001cfe649 Mon Sep 17 00:00:00 2001 From: ixaxaar Date: Fri, 1 Dec 2017 11:24:09 +0530 Subject: [PATCH] no gpu on travis --- test/test_indexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_indexes.py b/test/test_indexes.py index c5dec63..28e3962 100644 --- a/test/test_indexes.py +++ b/test/test_indexes.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- import pytest import numpy as np @@ -36,7 +36,7 @@ def test_indexes(): d = T.ones(n, cell_size) q = T.ones(1, cell_size) - for gpu_id in (0, -1): + for gpu_id in (-1, -1): i = Index(cell_size=cell_size, nr_cells=nr_cells, K=K, probes=probes, gpu_id=gpu_id) d = d if gpu_id == -1 else d.cuda(gpu_id)