summaryrefslogtreecommitdiff
path: root/samples/sasum.c
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-09-13 21:14:51 +0200
committerGitHub <noreply@github.com>2016-09-13 21:14:51 +0200
commitf07ac22f5b57d22756d779d2e53620f988d786ee (patch)
treee8bcbc331683ca6fd807f5a5b83bb05c6e6fed69 /samples/sasum.c
parent7c13bacf129291e3e295ecb6e833788477085fa0 (diff)
parent4b94afda941a86f363064ff02f97e21eb9618794 (diff)
Merge pull request #99 from CNugteren/development
Update to version 0.9.0
Diffstat (limited to 'samples/sasum.c')
-rw-r--r--samples/sasum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/sasum.c b/samples/sasum.c
index 3fdbb0eb..1518cc13 100644
--- a/samples/sasum.c
+++ b/samples/sasum.c
@@ -74,6 +74,7 @@ int main(void) {
// Wait for completion
clWaitForEvents(1, &event);
+ clReleaseEvent(event);
// Copies the result back to the host
clEnqueueReadBuffer(queue, device_output, CL_TRUE, 0, 1*sizeof(float), host_output, 0, NULL, NULL);