summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loop.c5
1 files changed, 0 insertions, 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;
}