diff options
author | Albert Jin <albert.jin@gmail.com> | 2024-05-09 17:34:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 12:34:37 +0300 |
commit | 47345248827f426038098d016ed11975021b4919 (patch) | |
tree | af067c8394d96b6fb1b4ff4dbb2ff639fefb1a10 /scripts/get-wikitext-2.sh | |
parent | 07cd41d0965829463eff73eda3348aedbfd3a444 (diff) |
opencl : alignment size converted from bits to bytes (#7090)
* opencl alignment size should be converted from bits to bytes
Reference: https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#CL_DEVICE_MEM_BASE_ADDR_ALIGN
> Alignment requirement (in bits) for sub-buffer offsets.
* Update ggml-opencl.cpp for readability using division instead of shift
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
---------
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
Diffstat (limited to 'scripts/get-wikitext-2.sh')
0 files changed, 0 insertions, 0 deletions