1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 15:04:17 +00:00

Specifying threads on multi fpga boards extra cgpu

This commit is contained in:
nelisky 2012-05-03 09:35:59 -07:00
parent 5a58b3f5b3
commit 7aaf1b6a07

View File

@ -87,8 +87,9 @@ static void ztex_detect(void)
ztex_slave = calloc(1, sizeof(struct libztex_device));
memcpy(ztex_slave, ztex_devices[i]->dev, sizeof(struct libztex_device));
ztex->device_ztex = ztex_slave;
ztex_slave->root = ztex_devices[i]->dev;
ztex->threads = 1;
ztex_slave->fpgaNum = j;
ztex_slave->root = ztex_devices[i]->dev;
add_cgpu(ztex);
}