mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix(compiler): handle splice streams (streams originating on device, used both on device and on host) in SDFG for GPU scheduling.
This commit is contained in:
@@ -337,6 +337,9 @@ struct LowerSDFGMakeStream
|
||||
case SDFG::StreamKind::device_to_host:
|
||||
t = TS_STREAM_TYPE_TOPO_TO_X86_LSAP;
|
||||
break;
|
||||
case SDFG::StreamKind::device_to_both:
|
||||
t = TS_STREAM_TYPE_TOPO_TO_BOTH;
|
||||
break;
|
||||
}
|
||||
auto sType = msOp->getResultTypes()[0].dyn_cast_or_null<SDFG::StreamType>();
|
||||
assert(sType && "SDFG MakeStream operation should return a stream type");
|
||||
|
||||
Reference in New Issue
Block a user