tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Hynes <notificati...@github.com>
Subject Re: [dmlc/tvm] [RFC][SGX] Use Fortanix EDP instead of rust-sgx-sdk (#2887)
Date Fri, 05 Apr 2019 02:36:53 GMT
Hey @dingelish cool to see you here! Thanks a lot for the input. One point of note for the
TVM use-case is that the [TVM modules' thread pool already requires cooperation from the OS](https://github.com/dmlc/tvm/blob/master/rust/runtime/src/threading.rs#L132).
In almost all (or maybe actually all?) cases, the TVM threads operate on mutually exclusive
portions of the output; the operation also doesn't return until all threads have finished
their tasks. Accordingly, it's not so important that the thread pool be trusted.

TVM also doesn't make use of `fs` nor `net`, so really it's just a matter of threads.

With due respect to you and your fantastic `std` facade (and, trust me, there's plenty of
that from my end :), the Fortanix programming model is so much nicer more pleasant and flexible.
That it is integrated as a Tier 3 target in rustc is no small factor in this proposal.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/2887#issuecomment-480129068
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message