Skip to content

Commit b50e833

Browse files
committed
Comment made less like actual code
1 parent 656a48f commit b50e833

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/gpuarray_buffer_cuda.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ static gpukernel *cuda_newkernel(void *c, unsigned int count,
809809
// If there's an error, *err_str state is fine - fall through
810810
}
811811
strb_clear(&debug_msg);
812-
//free(*err_str); // *err_str must be free()d by the caller (see docs in kernel.h)
812+
// *err_str will be free()d by the caller (see docs in kernel.h)
813813
}
814814
strb_clear(&sb);
815815
cuda_exit(ctx);

‎src/gpuarray_buffer_opencl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ static gpukernel *cl_newkernel(void *c, unsigned int count,
773773
// If there's a memory alloc error, fall-through : announcing a compile error is more important
774774
}
775775
strb_clear(&debug_msg);
776-
//free(*err_str); // *err_str must be free()d by the caller (see docs in kernel.h)
776+
// *err_str will be free()d by the caller (see docs in kernel.h)
777777
}
778778

779779
clReleaseProgram(p);

0 commit comments

Comments
 (0)