1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

ocl/misc: spacing.

This commit is contained in:
Noel Maersk 2014-02-24 16:22:03 +02:00
parent 7217da3078
commit 5b42d38f33

2
ocl.c
View File

@ -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;