Fix missing event cast
This commit is contained in:
parent
c3290d29e0
commit
02d2e38949
1 changed files with 2 additions and 2 deletions
|
@ -4128,10 +4128,10 @@ bool ggml_vk_compute_forward(ggml_compute_params * params, ggml_tensor * tensor)
|
|||
memcpy(cpy.dst, cpy.src, cpy.n);
|
||||
}
|
||||
// Trigger staging events if any exists
|
||||
if (extra->in0_staging_event != VK_NULL_HANDLE) {
|
||||
if (extra->in0_staging_event != (vk::Event) VK_NULL_HANDLE) {
|
||||
vk_device.device.setEvent(extra->in0_staging_event);
|
||||
}
|
||||
if (extra->in1_staging_event != VK_NULL_HANDLE) {
|
||||
if (extra->in1_staging_event != (vk::Event) VK_NULL_HANDLE) {
|
||||
vk_device.device.setEvent(extra->in1_staging_event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue