mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +08:00
[XPU] Add docs for gm_default_size and fix type (#1962)
Add description of gm_default_size and change kunlunxin_gm_default_size‘s type to int64_t
This commit is contained in:
@@ -106,6 +106,7 @@ struct FASTDEPLOY_DECL RuntimeOption {
|
||||
/// \param adaptive_seqlen Is the input of multi_encoder variable length
|
||||
/// \param enable_multi_stream Whether to enable the multi stream of
|
||||
/// KunlunXin XPU.
|
||||
/// \param gm_default_size The default size of global memory of KunlunXin XPU.
|
||||
///
|
||||
void UseKunlunXin(int kunlunxin_id = 0, int l3_workspace_size = 0xfffc00,
|
||||
bool locked = false, bool autotune = true,
|
||||
|
Reference in New Issue
Block a user