#[repr(u32)]pub enum hiprtcResult {
Show 13 variants
HIPRTC_SUCCESS = 0,
HIPRTC_ERROR_OUT_OF_MEMORY = 1,
HIPRTC_ERROR_PROGRAM_CREATION_FAILURE = 2,
HIPRTC_ERROR_INVALID_INPUT = 3,
HIPRTC_ERROR_INVALID_PROGRAM = 4,
HIPRTC_ERROR_INVALID_OPTION = 5,
HIPRTC_ERROR_COMPILATION = 6,
HIPRTC_ERROR_BUILTIN_OPERATION_FAILURE = 7,
HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION = 8,
HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION = 9,
HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID = 10,
HIPRTC_ERROR_INTERNAL_ERROR = 11,
HIPRTC_ERROR_LINKING = 100,
}Expand description
@addtogroup GlobalDefs @{
/ /** hiprtc error code
Variants§
HIPRTC_SUCCESS = 0
< Success
HIPRTC_ERROR_OUT_OF_MEMORY = 1
< Out of memory
HIPRTC_ERROR_PROGRAM_CREATION_FAILURE = 2
< Failed to create program
HIPRTC_ERROR_INVALID_INPUT = 3
< Invalid input
HIPRTC_ERROR_INVALID_PROGRAM = 4
< Invalid program
HIPRTC_ERROR_INVALID_OPTION = 5
< Invalid option
HIPRTC_ERROR_COMPILATION = 6
< Compilation error
HIPRTC_ERROR_BUILTIN_OPERATION_FAILURE = 7
< Failed in builtin operation
HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION = 8
< No name expression after compilation
HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION = 9
< No lowered names before compilation
HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID = 10
< Invalid name expression
HIPRTC_ERROR_INTERNAL_ERROR = 11
< Internal error
HIPRTC_ERROR_LINKING = 100
< Error in linking
Trait Implementations§
Source§impl Clone for hiprtcResult
impl Clone for hiprtcResult
Source§fn clone(&self) -> hiprtcResult
fn clone(&self) -> hiprtcResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for hiprtcResult
Source§impl Debug for hiprtcResult
impl Debug for hiprtcResult
impl Eq for hiprtcResult
Source§impl Hash for hiprtcResult
impl Hash for hiprtcResult
Source§impl PartialEq for hiprtcResult
impl PartialEq for hiprtcResult
impl StructuralPartialEq for hiprtcResult
Auto Trait Implementations§
impl Freeze for hiprtcResult
impl RefUnwindSafe for hiprtcResult
impl Send for hiprtcResult
impl Sync for hiprtcResult
impl Unpin for hiprtcResult
impl UnsafeUnpin for hiprtcResult
impl UnwindSafe for hiprtcResult
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