summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-05-11 10:05:01 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-05-11 10:05:01 -0400
commit0e700c44202cb6e7138543519e4c072155b73191 (patch)
treeab9bcd4526874d82504c051ea5bf0e3f427f83ed
parent59bc019bea96f7e7b69720cd796947798a710beb (diff)
loop: Remove spurious error message
-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;
}