diff --git a/regression-tests/multigpu_test/rocket4GPU.yml b/regression-tests/multigpu_test/rocket4GPU.yml index 2de1602cdea02c05edf5678b67a231ed7862e6b6..a7ece055707c26a7a27e9c12be3447dc1b77855f 100755 --- a/regression-tests/multigpu_test/rocket4GPU.yml +++ b/regression-tests/multigpu_test/rocket4GPU.yml @@ -45,8 +45,7 @@ collect: overwrite: true clean: - - multigpu_test/output/* - - multigpu_test/src/* + - multigpu_test/* sbatch: multigpu_test/slurm4GPU.job continue_if_job_fails: true diff --git a/regression-tests/multigpu_test/rocket8GPU.yml b/regression-tests/multigpu_test/rocket8GPU.yml index 29f06e919facadf86a76240f1f78427cf371bc6b..76203eb9d6d1417c48df295ea3a27bdc3a4ff0ef 100755 --- a/regression-tests/multigpu_test/rocket8GPU.yml +++ b/regression-tests/multigpu_test/rocket8GPU.yml @@ -46,8 +46,7 @@ collect: overwrite: true clean: - - multigpu_test/output/* - - multigpu_test/src/* + - multigpu_test/* sbatch: multigpu_test/slurm8GPU.job continue_if_job_fails: true diff --git a/src/cuda/DeviceInfo.cpp b/src/cuda/DeviceInfo.cpp index 20ea2c4f6ba098b17e444f55625a6791e46141e5..e4fe15ed84c9bfe11c3642082f7b052b9d52c20c 100644 --- a/src/cuda/DeviceInfo.cpp +++ b/src/cuda/DeviceInfo.cpp @@ -15,7 +15,7 @@ void verifyNumberOfDevices(int deviceId) int device_count = 0; cudaError_t errorId = cudaGetDeviceCount(&device_count); if(errorId != cudaSuccess) { - VF_LOG_CRITICAL("Error while accessing the device count: {}", cudaGetErrorString(errorId)); + VF_LOG_CRITICAL("Device {}: Error while accessing the device count: {}", deviceId, cudaGetErrorString(errorId)); } if (deviceId > device_count) { throw std::runtime_error("chosen gpudevice >= device_count ... exiting\n"); @@ -28,13 +28,13 @@ void verifyComputeCapability(int deviceId) cudaError_t errorId = cudaGetDeviceProperties(&deviceProp, deviceId); if(errorId != cudaSuccess){ - VF_LOG_CRITICAL("Error while accessing the device properties occurs: {}", cudaGetErrorString(errorId)); + VF_LOG_CRITICAL("Device {}: Error while accessing the device properties occurs: {}", deviceId, cudaGetErrorString(errorId)); } VF_LOG_INFO("[compute capability] = [{}.{}]\n", deviceProp.major, deviceProp.minor); if (deviceProp.major > 999) { - throw std::runtime_error("warning, CUDA Device Emulation (CPU) detected, exiting\n"); + throw std::runtime_error("Warning, CUDA Device Emulation (CPU) detected, exiting\n"); } } @@ -43,13 +43,13 @@ void setCudaDevice(int deviceId) // choose a cuda device for kernel execution cudaError_t errorId = cudaSetDevice(deviceId); if (errorId != cudaSuccess) { - VF_LOG_CRITICAL("Error while setting the device to {}: {}", deviceId, cudaGetErrorString(errorId)); + VF_LOG_CRITICAL("Device {}: Error while setting the device to: {}", deviceId, cudaGetErrorString(errorId)); } else { int device; // double check that device was properly selected errorId = cudaGetDevice(&device); if(errorId != cudaSuccess) { - VF_LOG_CRITICAL("Error while getting the device: {}", cudaGetErrorString(errorId)); + VF_LOG_CRITICAL("Device {}: Error while getting the device: {}", deviceId, cudaGetErrorString(errorId)); } } } @@ -70,7 +70,7 @@ void printCudaInformation(int deviceId) cudaError_t errorId = cudaGetDeviceProperties(&prop, deviceId); if(errorId != cudaSuccess){ - VF_LOG_CRITICAL("Error while accessing the device properties occurs: {}", cudaGetErrorString(errorId)); + VF_LOG_CRITICAL("Device {}: Error while accessing the device properties for occurs: {}", deviceId, cudaGetErrorString(errorId)); } printf(" --- General Information for device %d ---\n", deviceId);