Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gpma_bfs
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Recolic
gpma_bfs
Commits
2e375630
There was an error fetching the commit references. Please try again later.
Commit
2e375630
authored
5 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
gpu version bugfix
parent
94a1493d
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
gpma.cuh
+1
-1
1 addition, 1 deletion
gpma.cuh
with
1 addition
and
1 deletion
gpma.cuh
+
1
−
1
View file @
2e375630
...
...
@@ -596,7 +596,6 @@ __device__ void compact_kernel_gpu(SIZE_TYPE size, KEY_TYPE *keys, VALUE_TYPE *v
SIZE_TYPE
THREADS_NUM
=
32
;
SIZE_TYPE
BLOCKS_NUM
=
CALC_BLOCKS_NUM
(
THREADS_NUM
,
size
);
label_key_whether_none_kernel
<<<
BLOCKS_NUM
,
THREADS_NUM
>>>
(
label
,
keys
,
values
,
size
);
cErr
(
cudaDeviceSynchronize
());
// exscan
cudaExclusiveSum
(
label
,
exscan
,
size
);
...
...
@@ -724,6 +723,7 @@ __global__ void rebalancing_kernel(SIZE_TYPE unique_update_size, SIZE_TYPE seg_l
// compact
compact_kernel_gpu
(
update_width
,
key
,
value
,
compacted_size
,
tmp_keys
,
tmp_values
,
tmp_exscan
,
tmp_label
);
anySync
<
GPU
>
();
// Necessary!
// judge whether fit the density threshold
SIZE_TYPE
interval_a
=
update_offset
[
i
];
...
...
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