Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
pyopencl
Commits
a5ff1d0d
Commit
a5ff1d0d
authored
11 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Skip test_struct_reduce on Apple+Nvidia
parent
72e50ff5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_algorithm.py
+8
-2
8 additions, 2 deletions
test/test_algorithm.py
with
8 additions
and
2 deletions
test/test_algorithm.py
+
8
−
2
View file @
a5ff1d0d
...
@@ -29,6 +29,8 @@ import pytools.test
...
@@ -29,6 +29,8 @@ import pytools.test
from
pytools
import
memoize
from
pytools
import
memoize
from
test_array
import
general_clrand
from
test_array
import
general_clrand
import
pytest
import
pyopencl
as
cl
import
pyopencl
as
cl
import
pyopencl.array
as
cl_array
# noqa
import
pyopencl.array
as
cl_array
# noqa
from
pyopencl.tools
import
pytest_generate_tests_for_pyopencl
\
from
pyopencl.tools
import
pytest_generate_tests_for_pyopencl
\
...
@@ -366,12 +368,16 @@ def make_mmc_dtype(device):
...
@@ -366,12 +368,16 @@ def make_mmc_dtype(device):
@pytools.test.mark_test.opencl
@pytools.test.mark_test.opencl
def
test_struct_reduce
(
ctx_factory
):
def
test_struct_reduce
(
ctx_factory
):
from
pytest
import
importorskip
pytest
.
importorskip
(
"
mako
"
)
importorskip
(
"
mako
"
)
context
=
ctx_factory
()
context
=
ctx_factory
()
queue
=
cl
.
CommandQueue
(
context
)
queue
=
cl
.
CommandQueue
(
context
)
dev
,
=
context
.
devices
if
(
dev
.
vendor
==
"
NVIDIA
"
and
dev
.
platform
.
vendor
==
"
Apple
"
and
dev
.
driver_version
==
"
8.12.47 310.40.00.05f01
"
):
pytest
.
skip
(
"
causes a compiler hang on Apple/Nv GPU
"
)
mmc_dtype
,
mmc_c_decl
=
make_mmc_dtype
(
context
.
devices
[
0
])
mmc_dtype
,
mmc_c_decl
=
make_mmc_dtype
(
context
.
devices
[
0
])
preamble
=
mmc_c_decl
+
r
"""
//CL//
preamble
=
mmc_c_decl
+
r
"""
//CL//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment