ソースを参照

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


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません