mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
ocl/misc: spacing.
This commit is contained in:
parent
7217da3078
commit
5b42d38f33
2
ocl.c
2
ocl.c
@ -483,7 +483,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
if (!cgpu->opt_tc) {
|
||||
unsigned int sixtyfours;
|
||||
|
||||
sixtyfours = cgpu->max_alloc / 131072 / 64 / (nfactor/1024)- 1;
|
||||
sixtyfours = cgpu->max_alloc / 131072 / 64 / (nfactor/1024) - 1;
|
||||
cgpu->thread_concurrency = sixtyfours * 64;
|
||||
if (cgpu->shaders && cgpu->thread_concurrency > cgpu->shaders) {
|
||||
cgpu->thread_concurrency -= cgpu->thread_concurrency % cgpu->shaders;
|
||||
|
Loading…
x
Reference in New Issue
Block a user