Taken from https://github.com/houseroad/foxi/pull/25. diff --git a/foxi/onnxifi_dummy.c b/foxi/onnxifi_dummy.c index 2115af9..73e25fc 100644 --- a/foxi/onnxifi_dummy.c +++ b/foxi/onnxifi_dummy.c @@ -103,7 +103,10 @@ ONNXIFI_PUBLIC ONNXIFI_CHECK_RESULT onnxStatus ONNXIFI_ABI onnxInitGraph( const void* onnxModel, uint32_t weightCount, const onnxTensorDescriptorV1* weightDescriptors, - onnxGraph* graph) { + onnxGraph* graph, + uint32_t maxSeqLength, + void* deferredWeightReader) { + if (graph == NULL) { return ONNXIFI_STATUS_INVALID_POINTER; } @@ -215,6 +218,8 @@ ONNXIFI_PUBLIC ONNXIFI_CHECK_RESULT onnxStatus ONNXIFI_ABI onnxWaitEventFor(onnxEvent event, uint32_t timeoutMs, onnxEventState* eventState, - onnxStatus* eventStatus) { + onnxStatus* eventStatus, + char* message, + size_t* messageLength) { return ONNXIFI_STATUS_SUCCESS; } \ No newline at end of file diff --git a/foxi/onnxifi_wrapper.c b/foxi/onnxifi_wrapper.c index 98a9325..abe1440 100644 --- a/foxi/onnxifi_wrapper.c +++ b/foxi/onnxifi_wrapper.c @@ -761,7 +761,9 @@ ONNXIFI_PUBLIC onnxStatus ONNXIFI_ABI onnxInitGraph( const void* onnxModel, uint32_t weightsCount, const onnxTensorDescriptorV1* weightDescriptors, - onnxGraph* graph) + onnxGraph* graph, + uint32_t maxSeqLength, + void* deferredWeightReader) { if (graph == NULL) { return ONNXIFI_STATUS_INVALID_POINTER; @@ -797,7 +799,9 @@ ONNXIFI_PUBLIC onnxStatus ONNXIFI_ABI onnxInitGraph( onnxModel, weightsCount, weightDescriptors, - &graph_wrapper->graph); + &graph_wrapper->graph, + maxSeqLength, + deferredWeightReader); switch (status) { case ONNXIFI_STATUS_SUCCESS: case ONNXIFI_STATUS_FALLBACK: value='author'>author
path: root/gnu/home/services/gnupg.scm
AgeCommit message (Expand)Author
2024-08-18home: Fix typo in parcimonie configuration....* gnu/home/services/gnupg.scm (<home-parcimonie-configuration>) [gnupg-aleady-torified?]: Rename to ‘gnupg-already-torified?’. Change-Id: I0687f67a5cef410b8b1d579c57b318b9d269e0d0 Tobias Geerinckx-Rice
2024-07-26home: Set 700 permissions on .gnupg with home-gpg-agent-service...* gnu/home/services/gnupg.scm (gpg-agent-activation): New variable. (home-gpg-agent-service-type) [extensions]: Extend home-activation-service-type. Change-Id: If3365c6cade2b03ee53a466ce1d63a5cdf654d6c Signed-off-by: Ludovic Courtès <ludo@gnu.org> Richard Sent
2023-09-04home: Add parcimonie service....* gnu/home/services/gnupg.scm (home-parcimonie-service-type, home-parcimonie-configuration): New variables. * doc/guix.texi (GNU Privacy Guard): Document it. Efraim Flashner
2023-04-08home: Add gpg-agent service....* gnu/home/services/gnupg.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (GNU Privacy Guard): New node. (Secure Shell): Link to it. Ludovic Courtès