set stream by raw size_t

This commit is contained in:
wwbitejotunn
2023-02-09 12:53:08 +00:00
parent 4b293a89de
commit 59c5fedc36
3 changed files with 7 additions and 0 deletions

View File

@@ -111,6 +111,8 @@ struct FASTDEPLOY_DECL RuntimeOption {
void SetExternalStream(void* external_stream);
void SetExternalRawStream(size_t external_stream);
/*
* @brief Set number of cpu threads while inference on CPU, by default it will decided by the different backends
*/