Преглед изворни кода

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 месеци
родитељ
комит
ad51c0a720
1 измењених фајлова са 157 додато и 168 уклоњено
  1. 157 168
      ggml/src/ggml-vulkan/ggml-vulkan.cpp

Разлика између датотеке није приказан због своје велике величине
+ 157 - 168
ggml/src/ggml-vulkan/ggml-vulkan.cpp


Неке датотеке нису приказане због велике количине промена