Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Alexandru Fikl
pyopencl
Commits
9b35d345
Commit
9b35d345
authored
6 years ago
by
Aditya Bhosale
Browse files
Options
Downloads
Patches
Plain Diff
Fix bank conflict avoidance for scans
parent
7b5abf57
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
pyopencl/scan.py
+1
-2
1 addition, 2 deletions
pyopencl/scan.py
with
1 addition
and
2 deletions
pyopencl/scan.py
+
1
−
2
View file @
9b35d345
...
...
@@ -157,7 +157,6 @@ void ${kernel_name}(
scan_type value;
int dummy;
};
LOCAL_MEM struct wrapped_scan_type ldata[K + 1][WG_SIZE + 1];
%else:
struct wrapped_scan_type
{
...
...
@@ -165,8 +164,8 @@ void ${kernel_name}(
};
// padded in WG_SIZE to avoid bank conflicts
LOCAL_MEM struct wrapped_scan_type ldata[K + 1][WG_SIZE];
%endif
LOCAL_MEM struct wrapped_scan_type ldata[K + 1][WG_SIZE + 1];
%if is_segmented:
LOCAL_MEM char l_segment_start_flags[K][WG_SIZE];
...
...
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