libgpuverify

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

commit ee7c77de0e470ff8800459d0ebc91c6f4865acb3
parent 43408fc324b17da8f80b6fbc2455537abea7b8e1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 18 Nov 2023 20:43:39 +0100

-fix 0-termination error (again)

Diffstat:
Msource/rsa-test.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/rsa-test.c b/source/rsa-test.c @@ -709,7 +709,7 @@ int rsa_tests(void) { // Create the compute program from the source buffer // //program = clCreateProgramWithSource(context, 1, (const char **) & KernelSource, NULL, &err); - program = clCreateProgramWithSource(context, 1, (const char **) & kernelBuf, NULL, &err); + program = clCreateProgramWithSource(context, 1, (const char **) & kernelBuf, &sz, &err); if (!program) { printf("Error: Failed to create compute program!\n");