Ken Barker

Results 8 issues of Ken Barker

Add OpenCL 2.2 and 3.0 types, constants and functions to cl_h.rs and lib.rs for issue #192. Also added feature `opencl_version_3_0` to Cargo.toml and updated it's version by one.

Pull request to fix the issues identified in issue #196

There are a few minor issues in `cl_h.rs`, they are: - line 735 `clGetDeviceAndHostTimer`: `device_timestamp` and `host_timestamp` should be mutable pointers. - line 744 `clGetHostTimer`: `host_timestamp` should be a mutable...

Khronos announced the release of the [finalized OpenCL 3.0 specifications](https://www.khronos.org/blog/opencl-3.0-specification-finalized-and-initial-khronos-open-source-opencl-sdk-released) in September 2020. The `cl-sys` FFI bindings support OpenCL 2.0 and 2.1 as features, but not OpenCL 2.2 and 3.0....

When testing the `thread_pool_http_server.cpp` example using Apache Benchmark, the HTTP server crashes, e.g.: ab -n 10000 -c 1000 192.168.1.64:80/hello or ab -n 10000 -c 1000 -k 192.168.1.64:80/hello

bug

C++ 17 introduced [hardware_destructive_interference_size](https://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size) as the minimum offset between two objects to avoid false sharing. This value should be used in the `threadsafe_hash_map` class instead of cache_line_size.

enhancement

The HTTP `connection` class is only used by the `tcp_adaptor` and `ssl_tcp_adaptor` which are simply wrappers around the `ASIO::ip::tcp::socket` and ASIO::ssl::stream respectively. The overall design could be simplified by redesigning...

enhancement

Running: `cargo test -- --test-threads=1 --show-output --ignored` on a AMD Ryzen 5 2500U running Windows 11 Pro 23H2 build 22631.4602 and OpenCL® Driver Version: 31.0.21921.1000 failed with: ``` OpenCL kernel_0_name:...

bug