We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21915e2 commit f89fdb7Copy full SHA for f89fdb7
ggml/src/ggml-vulkan/ggml-vulkan.cpp
@@ -146,14 +146,11 @@ struct vk_matmul_pipeline_struct {
146
vk_pipeline l, m, s;
147
vk_pipeline a_l, a_m, a_s;
148
// Returns true when all member pipelines are null
149
- bool is_empty() const;
+ bool is_empty() const {
150
+ return l == nullptr && m == nullptr && s == nullptr &&
151
+ a_l == nullptr && a_m == nullptr && a_s == nullptr;
152
+ }
153
};
-
-bool vk_matmul_pipeline_struct::is_empty() const {
- return l == nullptr && m == nullptr && s == nullptr &&
154
- a_l == nullptr && a_m == nullptr && a_s == nullptr;
155
-}
156
157
typedef std::shared_ptr<vk_matmul_pipeline_struct> vk_matmul_pipeline;
158
159
struct vk_matmul_pipeline2 {
0 commit comments