Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
e6188044
Commit
e6188044
authored
5 years ago
by
bjschre2
Browse files
Options
Downloads
Patches
Plain Diff
Fix type casting in stencil test
parent
dbcd2ecd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hpvm/test/parboil/benchmarks/stencil/src/visc/stencil.cpp
+3
-3
3 additions, 3 deletions
hpvm/test/parboil/benchmarks/stencil/src/visc/stencil.cpp
with
3 additions
and
3 deletions
hpvm/test/parboil/benchmarks/stencil/src/visc/stencil.cpp
+
3
−
3
View file @
e6188044
...
@@ -219,9 +219,9 @@ int main(int argc, char** argv) {
...
@@ -219,9 +219,9 @@ int main(int argc, char** argv) {
//only use 1D thread block
//only use 1D thread block
in
t
tx
=
256
;
size_
t
tx
=
256
;
long
block
[
3
]
=
{
tx
,
1
,
1
};
size_t
block
[
3
]
=
{
tx
,
1
,
1
};
long
grid
[
3
]
=
{(
nx
-
2
+
tx
-
1
)
/
tx
*
tx
,
ny
-
2
,
nz
-
2
};
size_t
grid
[
3
]
=
{(
(
unsigned
)
nx
-
2
+
tx
-
1
)
/
tx
*
tx
,
(
unsigned
)
ny
-
2
,(
unsigned
)
nz
-
2
};
//size_t grid[3] = {nx-2,ny-2,nz-2};
//size_t grid[3] = {nx-2,ny-2,nz-2};
size_t
offset
[
3
]
=
{
1
,
1
,
1
};
size_t
offset
[
3
]
=
{
1
,
1
,
1
};
...
...
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