Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
b73401b7
There was an error fetching the commit references. Please try again later.
Unverified
Commit
b73401b7
authored
6 years ago
by
fireice-uk
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #2207 from psychocrypt/fix-cngpuOpenClCompMode
OpencL: fix cn_gpu
parents
f9ad522b
f14528ba
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xmrstak/backend/amd/amd_gpu/opencl/cryptonight_gpu.cl
+4
-9
4 additions, 9 deletions
xmrstak/backend/amd/amd_gpu/opencl/cryptonight_gpu.cl
with
4 additions
and
9 deletions
xmrstak/backend/amd/amd_gpu/opencl/cryptonight_gpu.cl
+
4
−
9
View file @
b73401b7
...
...
@@ -201,7 +201,7 @@ __kernel void JOIN(cn1_cn_gpu,ALGO)(__global int *lpad_in, __global int *spad, u
const uint gIdx = getIdx();
#if(COMP_MODE==1)
if(gIdx
<
Threads)
if(gIdx
/16 >= num
Threads)
return;
#endif
...
...
@@ -368,16 +368,11 @@ __kernel void JOIN(cn0_cn_gpu,ALGO)(__global ulong *input, __global int *Scratch
barrier(CLK_LOCAL_MEM_FENCE);
#if(COMP_MODE==1)
// do not use early return here
if(gIdx < Threads)
#endif
for(ulong i = get_local_id(1); i < MEMORY / 512; i += get_local_size(1))
{
for(ulong i = get_local_id(1); i < MEMORY / 512; i += get_local_size(1))
{
generate_512(i, State, (__global ulong*)((__global uchar*)Scratchpad + i*512));
}
generate_512(i, State, (__global ulong*)((__global uchar*)Scratchpad + i*512));
}
}
)==="
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