|
|
@@ -221,7 +221,7 @@ static PDLHandle* p_dl_fork_start(const ZZ &p, const ZZ_p &target,
|
|
|
|
|
|
cudaError_t cudares = cudaSetDevice(deviceid);
|
|
|
if (cudares != cudaSuccess) {
|
|
|
- cerr << "Error setting CUDA device\n";
|
|
|
+ cerr << "Error setting CUDA device: " << cudaGetErrorString(cudares) << "\n";
|
|
|
exit(1);
|
|
|
}
|
|
|
int res = p_dl(target_p, base_p, exp, fvec, label);
|