Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
4d80d708
Commit
4d80d708
authored
4 years ago
by
Markus Holzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'philox-simd' into 'master'
Fix logic error in RNG test See merge request
!211
parents
9919c193
b053b5fa
No related branches found
No related tags found
1 merge request
!211
Fix logic error in RNG test
Pipeline
#30210
passed
4 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pystencils_tests/test_random.py
+2
-2
2 additions, 2 deletions
pystencils_tests/test_random.py
with
2 additions
and
2 deletions
pystencils_tests/test_random.py
+
2
−
2
View file @
4d80d708
...
...
@@ -13,9 +13,9 @@ RNGs = {('philox', 'float'): PhiloxFourFloats, ('philox', 'double'): PhiloxTwoDo
instruction_sets
=
get_supported_instruction_sets
()
if
get_compiler_config
()[
'
os
'
]
==
'
windows
'
:
# skip instruction sets supported by CPU but not the compiler
# skip instruction sets supported by
the
CPU but not
by
the compiler
if
'
avx
'
in
instruction_sets
and
(
'
/arch:avx2
'
not
in
get_compiler_config
()[
'
flags
'
].
lower
()
or
'
/arch:avx512
'
not
in
get_compiler_config
()[
'
flags
'
].
lower
()):
and
'
/arch:avx512
'
not
in
get_compiler_config
()[
'
flags
'
].
lower
()):
instruction_sets
.
remove
(
'
avx
'
)
if
'
avx512
'
in
instruction_sets
and
'
/arch:avx512
'
not
in
get_compiler_config
()[
'
flags
'
].
lower
():
instruction_sets
.
remove
(
'
avx512
'
)
...
...
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