diff options
Diffstat (limited to 'samples/haxpy.c')
-rw-r--r-- | samples/haxpy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/haxpy.c b/samples/haxpy.c index 5bab3d42..8e0833f8 100644 --- a/samples/haxpy.c +++ b/samples/haxpy.c @@ -71,13 +71,13 @@ int main(void) { clEnqueueWriteBuffer(queue, device_b, CL_TRUE, 0, n*sizeof(cl_half), host_b, 0, NULL, NULL); // Call the HAXPY routine. - StatusCode status = CLBlastHaxpy(n, alpha, - device_a, 0, 1, - device_b, 0, 1, - &queue, &event); + CLBlastStatusCode status = CLBlastHaxpy(n, alpha, + device_a, 0, 1, + device_b, 0, 1, + &queue, &event); // Wait for completion - if (status == kSuccess) { + if (status == CLBlastSuccess) { clWaitForEvents(1, &event); clReleaseEvent(event); } |