Skip to content

Commit 358eb97

Browse files
committed
replaced with is_empty
1 parent 6fbaddf commit 358eb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5230,7 +5230,7 @@ static vk_matmul_pipeline ggml_vk_get_mul_mat_mat_id_pipeline(ggml_backend_vk_co
52305230
if (src1_type == GGML_TYPE_Q8_1) {
52315231
vk_matmul_pipeline pipelines = ctx->device->pipeline_dequant_mul_mat_mat_id_q8_1[src0_type].f32acc;
52325232

5233-
if (pipelines->s == nullptr && pipelines->m == nullptr && pipelines->l == nullptr) {
5233+
if (pipelines->is_empty()) {
52345234
return nullptr;
52355235
}
52365236

0 commit comments

Comments
 (0)