Closed MicheleCancilla closed 3 years ago
Describe the bug Bug in Tensor::getDeviceID. device used in place of dev.
device
dev
https://github.com/deephealthproject/eddl/blob/676c91823e9483589fc05e51a6191755b27a0e49/src/tensor/tensor.cpp#L580-L585
How to Fix else if ((dev >= DEV_GPU) && (dev < DEV_FPGA)) { return 1; }
else if ((dev >= DEV_GPU) && (dev < DEV_FPGA)) { return 1; }
Fixed: 8c1560c97cb0872f4febe8406c772ca1c611bac8
Describe the bug Bug in Tensor::getDeviceID.
device
used in place ofdev
.https://github.com/deephealthproject/eddl/blob/676c91823e9483589fc05e51a6191755b27a0e49/src/tensor/tensor.cpp#L580-L585
How to Fix
else if ((dev >= DEV_GPU) && (dev < DEV_FPGA)) { return 1; }