aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/allocations/allocation_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/allocations/allocation_functions.cpp')
-rw-r--r--test_conformance/allocations/allocation_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_conformance/allocations/allocation_functions.cpp b/test_conformance/allocations/allocation_functions.cpp
index 7182c727..827ee104 100644
--- a/test_conformance/allocations/allocation_functions.cpp
+++ b/test_conformance/allocations/allocation_functions.cpp
@@ -37,8 +37,8 @@ int find_good_image_size(cl_device_id device_id, size_t size_to_allocate, size_t
}
if (size_to_allocate == 0) {
- log_error("Trying to allcoate a zero sized image.\n");
- return FAILED_ABORT;
+ log_error("Trying to allocate a zero sized image.\n");
+ return FAILED_ABORT;
}
error = clGetDeviceInfo( device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof( max_width ), &max_width, NULL );