From 0e700c44202cb6e7138543519e4c072155b73191 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 11 May 2012 10:05:01 -0400 Subject: loop: Remove spurious error message --- loop.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/loop.c b/loop.c index 9a806ef..b3d960c 100644 --- a/loop.c +++ b/loop.c @@ -40,11 +40,6 @@ int main (int argc, char ** argv) return EXIT_FAILURE; } - if (error != CL_SUCCESS) { - fprintf(stderr, "clCreateBuffer() failed\n"); - return EXIT_FAILURE; - } - if (!clSimpleKernelSetArg(context.kernel, 1, sizeof(int), &iterations)) { return EXIT_FAILURE; } -- cgit v1.2.3