Struct hsa::Executable
[−]
[src]
pub struct Executable { /* fields omitted */ }
Methods
impl Executable
[src]
fn new<T: Into<Vec<u8>>>(
profile: Profile,
default_float_rounding_mode: DefaultFloatRoundingMode,
options: T
) -> Result<Executable, ErrorStatus>
profile: Profile,
default_float_rounding_mode: DefaultFloatRoundingMode,
options: T
) -> Result<Executable, ErrorStatus>
fn load_code_object<T: Into<Vec<u8>>>(
&self,
agent: Agent,
code_object: CodeObject,
options: T
) -> Result<(), ErrorStatus>
&self,
agent: Agent,
code_object: CodeObject,
options: T
) -> Result<(), ErrorStatus>
Deprecated
fn freeze<T: Into<Vec<u8>>>(&self, options: T) -> Result<(), ErrorStatus>
fn get_symbol<T: Into<Vec<u8>>>(
&self,
module_name: T,
symbol_name: T,
agent: Agent,
call_convention: i32
) -> Result<ExecutableSymbol, ErrorStatus>
&self,
module_name: T,
symbol_name: T,
agent: Agent,
call_convention: i32
) -> Result<ExecutableSymbol, ErrorStatus>
Deprecated
fn agent_symbols(
&self,
agent: Agent
) -> Result<Vec<ExecutableSymbol>, ErrorStatus>
&self,
agent: Agent
) -> Result<Vec<ExecutableSymbol>, ErrorStatus>
fn program_symbols(&self) -> Result<Vec<ExecutableSymbol>, ErrorStatus>
fn symbols(&self) -> Result<Vec<ExecutableSymbol>, ErrorStatus>
Deprecated
fn profile(&self) -> Result<Profile, ErrorStatus>
fn state(&self) -> Result<ExecutableState, ErrorStatus>
fn default_float_rounding_mode(
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>