#[repr(C)]pub struct RKLLMExtendParam {
    pub base_domain_id: i32,
    pub embed_flash: i8,
    pub enabled_cpus_num: i8,
    pub enabled_cpus_mask: u32,
    pub reserved: [u8; 106],
}Expand description
@struct RKLLMExtendParam @brief The extend parameters for configuring an LLM instance.
Fields§
§base_domain_id: i32< base_domain_id
embed_flash: i8< Indicates whether to query word embedding vectors from flash memory (1) or not (0).
enabled_cpus_num: i8< Number of CPUs enabled for inference.
enabled_cpus_mask: u32< Bitmask indicating which CPUs to enable for inference.
reserved: [u8; 106]< reserved
Trait Implementations§
Source§impl Clone for RKLLMExtendParam
 
impl Clone for RKLLMExtendParam
Source§fn clone(&self) -> RKLLMExtendParam
 
fn clone(&self) -> RKLLMExtendParam
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RKLLMExtendParam
 
impl Debug for RKLLMExtendParam
impl Copy for RKLLMExtendParam
Auto Trait Implementations§
impl Freeze for RKLLMExtendParam
impl RefUnwindSafe for RKLLMExtendParam
impl Send for RKLLMExtendParam
impl Sync for RKLLMExtendParam
impl Unpin for RKLLMExtendParam
impl UnwindSafe for RKLLMExtendParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more