Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Nvidia quirk
  • Loading branch information
inducer committed Sep 22, 2015
1 parent d36f2f6 commit 91e14ed
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/test_wrapper.py
@@ -1,7 +1,4 @@
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from six.moves import range
from __future__ import division, absolute_import, print_function

__copyright__ = "Copyright (C) 2009 Andreas Kloeckner"

Expand All @@ -25,6 +22,8 @@
THE SOFTWARE.
"""

from six.moves import range

import numpy as np
import numpy.linalg as la
import pytest
Expand Down Expand Up @@ -75,7 +74,7 @@ def test_get_info(ctx_factory):
(("NVIDIA Corporation", "NVIDIA CUDA",
"OpenCL 1.2 CUDA 7.5.15"),
[
(cl.Buffer, cl.mem_info.USES_SVM_POINTER),
(cl.Buffer, getattr(cl.mem_info, "USES_SVM_POINTER")),
]),
(("The pocl project", "Portable Computing Language",
"OpenCL 1.2 pocl 0.8-pre"),
Expand Down

0 comments on commit 91e14ed

Please sign in to comment.