diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-22 16:14:56 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-22 16:14:56 +0200 |
commit | a670c4c4bfa9557d2ae059c31aa773cf0f02ec12 (patch) | |
tree | d1f3e45501afa1818d824aa24b87148448575108 /samples/sasum.c | |
parent | 4a5516aa784d2f0352daf8579c377130a914b067 (diff) |
All enums in the C API are now prefixed with CLBlast to avoid potential name clashes with other projects
Diffstat (limited to 'samples/sasum.c')
-rw-r--r-- | samples/sasum.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/sasum.c b/samples/sasum.c index 02f924b0..c285dd14 100644 --- a/samples/sasum.c +++ b/samples/sasum.c @@ -67,13 +67,13 @@ int main(void) { clEnqueueWriteBuffer(queue, device_output, CL_TRUE, 0, 1*sizeof(float), host_output, 0, NULL, NULL); // Call the SASUM routine. - StatusCode status = CLBlastSasum(n, - device_output, 0, - device_input, 0, 1, - &queue, &event); + CLBlastStatusCode status = CLBlastSasum(n, + device_output, 0, + device_input, 0, 1, + &queue, &event); // Wait for completion - if (status == kSuccess) { + if (status == CLBlastSuccess) { clWaitForEvents(1, &event); clReleaseEvent(event); } |