Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_devices
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
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_devices
Commits
5cfb4863
Commit
5cfb4863
authored
1 year ago
by
yaskovet
Browse files
Options
Downloads
Patches
Plain Diff
Refactor naming (ctx, context, gpuContext, gpu) -> gpuContext
parent
811b26e6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6406
passed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/util/cudify/alpaka/cudify_alpaka.hpp
+2
-2
2 additions, 2 deletions
src/util/cudify/alpaka/cudify_alpaka.hpp
src/util/cudify/openmp/cudify_openmp.hpp
+2
-2
2 additions, 2 deletions
src/util/cudify/openmp/cudify_openmp.hpp
with
4 additions
and
4 deletions
src/util/cudify/alpaka/cudify_alpaka.hpp
+
2
−
2
View file @
5cfb4863
...
...
@@ -219,7 +219,7 @@ namespace gpu
typename
segments_it
,
typename
output_it
,
typename
op_t
,
typename
type_t
,
typename
context_t
>
void
segreduce
(
input_it
input
,
int
count
,
segments_it
segments
,
int
num_segments
,
output_it
output
,
op_t
op
,
type_t
init
,
context_t
&
c
ontext
)
context_t
&
gpuC
ontext
)
{
int
i
=
0
;
for
(
;
i
<
num_segments
-
1
;
i
++
)
...
...
@@ -250,7 +250,7 @@ namespace gpu
typename
comp_t
,
typename
context_t
>
void
merge
(
a_keys_it
a_keys
,
a_vals_it
a_vals
,
int
a_count
,
b_keys_it
b_keys
,
b_vals_it
b_vals
,
int
b_count
,
c_keys_it
c_keys
,
c_vals_it
c_vals
,
comp_t
comp
,
context_t
&
c
ontext
)
c_keys_it
c_keys
,
c_vals_it
c_vals
,
comp_t
comp
,
context_t
&
gpuC
ontext
)
{
int
a_it
=
0
;
int
b_it
=
0
;
...
...
This diff is collapsed.
Click to expand it.
src/util/cudify/openmp/cudify_openmp.hpp
+
2
−
2
View file @
5cfb4863
...
...
@@ -205,7 +205,7 @@ namespace gpu
typename
segments_it
,
typename
output_it
,
typename
op_t
,
typename
type_t
,
typename
context_t
>
void
segreduce
(
input_it
input
,
int
count
,
segments_it
segments
,
int
num_segments
,
output_it
output
,
op_t
op
,
type_t
init
,
context_t
&
c
ontext
)
context_t
&
gpuC
ontext
)
{
int
i
=
0
;
for
(
;
i
<
num_segments
-
1
;
i
++
)
...
...
@@ -236,7 +236,7 @@ namespace gpu
typename
comp_t
,
typename
context_t
>
void
merge
(
a_keys_it
a_keys
,
a_vals_it
a_vals
,
int
a_count
,
b_keys_it
b_keys
,
b_vals_it
b_vals
,
int
b_count
,
c_keys_it
c_keys
,
c_vals_it
c_vals
,
comp_t
comp
,
context_t
&
c
ontext
)
c_keys_it
c_keys
,
c_vals_it
c_vals
,
comp_t
comp
,
context_t
&
gpuC
ontext
)
{
int
a_it
=
0
;
int
b_it
=
0
;
...
...
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