diff options
author | Andrzej Janik <[email protected]> | 2021-07-04 13:24:35 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-07-04 13:24:35 +0200 |
commit | d76ffd691cdb495c24c81fda82bd2b3c99d51531 (patch) | |
tree | a0cd167f988ef284ea576f62342c37f25e3cd0df /zluda | |
parent | b460e359ae5eb21ca75dec655daa671e559f6a45 (diff) | |
download | ZLUDA-d76ffd691cdb495c24c81fda82bd2b3c99d51531.tar.gz ZLUDA-d76ffd691cdb495c24c81fda82bd2b3c99d51531.zip |
Remember to actually submit workload
Diffstat (limited to 'zluda')
-rw-r--r-- | zluda/src/impl/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zluda/src/impl/mod.rs b/zluda/src/impl/mod.rs index 48b5fb5..2bdd613 100644 --- a/zluda/src/impl/mod.rs +++ b/zluda/src/impl/mod.rs @@ -294,6 +294,8 @@ impl GlobalState { let prev_event_slice = prev_event_array.as_ref().map_or(&empty[..], |arr| &arr[..]); let (new_event, new_marker) = event_pool.get(l0_dev, l0_ctx)?; f(&mut cmd_list, &new_event, prev_event_slice)?; + cmd_list.close()?; + unsafe { stream_data.queue.execute(&cmd_list, None)? }; stream_data.push_event((new_event, new_marker)); Ok(()) })? |