mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
The mentioned function allocates and copies elements of size 1. Therefore, the implementation was simplified and additional check was added to avoid possible UBs. Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
2.9 KiB
2.9 KiB