Closed kenba closed 1 year ago
There are a few minor issues in cl_h.rs, they are:
cl_h.rs
clGetDeviceAndHostTimer
device_timestamp
host_timestamp
clGetHostTimer
clCreateProgramWithBuiltInKernels
kernel_names
Also, if the 3 structs: cl_image_format, cl_image_desc, and cl_buffer_region were declared #[derive(Debug)] it would make them easier to use.
#[derive(Debug)]
There are a few minor issues in
cl_h.rs
, they are:clGetDeviceAndHostTimer
:device_timestamp
andhost_timestamp
should be mutable pointers.clGetHostTimer
:host_timestamp
should be a mutable pointer.clCreateProgramWithBuiltInKernels
:kernel_names
should be a const pointer not a mutable pointerAlso, if the 3 structs: cl_image_format, cl_image_desc, and cl_buffer_region were declared
#[derive(Debug)]
it would make them easier to use.