Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
palathark
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
palathark
Commits
742fcc67
Unverified
Commit
742fcc67
authored
4 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
removed warning
parent
cbdb7348
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/c_interface/tensor_field.c
+2
-2
2 additions, 2 deletions
src/c_interface/tensor_field.c
with
2 additions
and
2 deletions
src/c_interface/tensor_field.c
+
2
−
2
View file @
742fcc67
...
...
@@ -66,7 +66,7 @@ void tensor_field_deallocate(tensor_field field) {
}
void
tensor_field_from_futhark_f32_4d_inplace
(
struct
futhark_f32_4d
*
f
,
struct
futhark_context
*
ctx
,
tensor_field
field
)
{
int64_t
*
shape
=
futhark_shape_f32_4d
(
ctx
,
f
);
const
int64_t
*
shape
=
futhark_shape_f32_4d
(
ctx
,
f
);
fint
nx
=
shape
[
0
];
fint
ny
=
shape
[
1
];
fint
nz
=
shape
[
2
];
...
...
@@ -99,7 +99,7 @@ void tensor_field_compute_norm_inplace(tensor_field field, scalar_field norm) {
}
tensor_field
tensor_field_from_futhark_f32_4d
(
struct
futhark_f32_4d
*
f
,
struct
futhark_context
*
ctx
)
{
int64_t
*
shape
=
futhark_shape_f32_4d
(
ctx
,
f
);
const
int64_t
*
shape
=
futhark_shape_f32_4d
(
ctx
,
f
);
fint
nx
=
shape
[
0
];
fint
ny
=
shape
[
1
];
fint
nz
=
shape
[
2
];
...
...
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