We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c73cb commit 129d734Copy full SHA for 129d734
1 file changed
Core/src/main/velocity/com/nativelibs4java/opencl/CLProgram.java
@@ -772,7 +772,7 @@ public synchronized CLProgram build() throws CLBuildException {
772
Set<String> errors = getProgramBuildInfo(getEntity(), deviceIds);
773
774
if (err != CL_SUCCESS) {
775
- throw new CLBuildException(this, "Compilation failure : " + errorString(err) + " (" + nDevices + " devices)", errors);
+ throw new CLBuildException(this, "Compilation failure : " + errorString(err) + " (devices: " + Arrays.asList(getDevices()) + ")", errors);
776
} else {
777
if (!errors.isEmpty())
778
JavaCL.log(Level.INFO, "Build info :\n\t" + StringUtils.implode(errors, "\n\t"));
0 commit comments