libgpuverify

Signature verification on GPUs (WiP)
Log | Files | Refs | README | LICENSE

commit 5118ec19d408b4a4eeea78ac9e12472b3ef494d0
parent 916119045dcb898a6969e6d1217a53b743836c65
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 18 Nov 2023 19:59:11 +0100

continue on failed clGetPlatformInfo

Diffstat:
Msource/rsa-test.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/source/rsa-test.c b/source/rsa-test.c @@ -198,10 +198,12 @@ int verify_with_opencl(DIGIT_T *bases, size_t *b_len, err = clGetPlatformInfo (platforms[i], param[j].cpi, sizeof (buf), buf, &rbuf); if (err != CL_SUCCESS) { - printf("Error: Failed to get platform info! (%d)\n", err); - return EXIT_FAILURE; + printf("Error: Failed to get platform info for %s! (%d)\n", param[j].name, err); + } + else + { + printf ("#%u %s %.*s\n", i, param[j].name, (int) rbuf, buf); } - printf ("#%u %s %.*s\n", i, param[j].name, (int) rbuf, buf); } }