Skip to content

Commit

Permalink
remove white space
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinLu1114 committed Oct 27, 2021
1 parent 2abdda5 commit deed787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/opencl/opencl_device_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void* OpenCLWorkspace::AllocDataSpace(Device dev, size_t size, size_t alignment,
ICHECK(context != nullptr) << "No OpenCL device";
cl_int err_code;
cl::BufferDescriptor* desc = new cl::BufferDescriptor;
// CL_INVALID_BUFFER_SIZE if size is 0.
// CL_INVALID_BUFFER_SIZE if size is 0.
if(size == 0)
{
size = 1;
Expand Down

0 comments on commit deed787

Please sign in to comment.