Просмотр исходного кода

vulkan: remove the need for the dryrun (#16826)

* vulkan: remove the need for the dryrun

Allocate pipelines and descriptor sets when requested.

Reallocate the prealloc buffers when needed, and flush any pending work
before reallocating.

For rms_partials and total_mul_mat_bytes, use the sizes computed the last time
the graph was executed.

* remove dryrun parameters
Jeff Bolz 2 месяцев назад
Родитель
Сommit
ad51c0a720
1 измененных файлов с 157 добавлено и 168 удалено
  1. 157 168
      ggml/src/ggml-vulkan/ggml-vulkan.cpp

Разница между файлами не показана из-за своего большого размера
+ 157 - 168
ggml/src/ggml-vulkan/ggml-vulkan.cpp


Некоторые файлы не были показаны из-за большого количества измененных файлов