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
Merge requests
!211
Fix logic error in RNG test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix logic error in RNG test
philox-simd
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Michael Kuron
requested to merge
philox-simd
into
master
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Minor oversight in
!48 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b053b5fa
1 commit,
4 years ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pystencils_tests/test_random.py
+
2
−
2
Options
@@ -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
'
)
Loading