Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
TurTLE
TurTLE
Commits
3e2f5ff6
Commit
3e2f5ff6
authored
10 years ago
by
Chichi Lalescu
Browse files
Options
Downloads
Plain Diff
Merge branch 'endianness' of github.com:idies/MPIArrayTools into endianness
parents
58066812
9f54cb75
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_endianness.py
+21
-0
21 additions, 0 deletions
test_endianness.py
with
21 additions
and
0 deletions
test_endianness.py
0 → 100755
+
21
−
0
View file @
3e2f5ff6
#! /usr/bin/env python3
import
numpy
as
np
data
=
np
.
memmap
(
'
data_native
'
,
mode
=
'
r
'
,
dtype
=
np
.
float32
)
print
(
data
)
data
=
np
.
memmap
(
'
data_internal
'
,
mode
=
'
r
'
,
dtype
=
np
.
float32
)
print
(
data
)
data
=
np
.
memmap
(
'
data_external32
'
,
mode
=
'
r
'
,
dtype
=
'
>f4
'
)
print
(
data
)
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