Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
b8a6081e
Commit
b8a6081e
authored
Jul 07, 2011
by
Mark Florisson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing nan_init sequential test
parent
096c587d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
tests/run/parallel.pyx
tests/run/parallel.pyx
+1
-0
tests/run/sequential_parallel.pyx
tests/run/sequential_parallel.pyx
+3
-1
No files found.
tests/run/parallel.pyx
View file @
b8a6081e
...
@@ -42,4 +42,5 @@ def test_num_threads():
...
@@ -42,4 +42,5 @@ def test_num_threads():
return
num_threads
return
num_threads
OPENMP_PARALLEL
=
True
include
"sequential_parallel.pyx"
include
"sequential_parallel.pyx"
tests/run/sequential_parallel.pyx
View file @
b8a6081e
...
@@ -237,6 +237,8 @@ def test_nan_init():
...
@@ -237,6 +237,8 @@ def test_nan_init():
with
nogil
,
cython
.
parallel
.
parallel
():
with
nogil
,
cython
.
parallel
.
parallel
():
c1
=
16
c1
=
16
if
globals
().
get
(
'OPENMP_PARALLEL'
):
# We only reach here when we are included by parallel.pyx
assert
c1
==
20
,
c1
assert
c1
==
20
,
c1
cdef
void
nogil_print
(
char
*
s
)
with
gil
:
cdef
void
nogil_print
(
char
*
s
)
with
gil
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment