OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CubinResult Struct Reference

#include <NvidiaKernel.h>

+ Collaboration diagram for CubinResult:

Public Member Functions

 CubinResult ()
 
float jitWallTime () const
 

Public Attributes

void * cubin
 
std::vector< CUjit_optionoption_keys
 
std::vector< void * > option_values
 
CUlinkState link_state
 
size_t cubin_size
 
std::string info_log
 
std::string error_log
 
size_t jit_wall_time_idx
 

Detailed Description

Definition at line 30 of file NvidiaKernel.h.

Constructor & Destructor Documentation

CubinResult::CubinResult ( )

Member Function Documentation

float CubinResult::jitWallTime ( ) const
inline

Definition at line 42 of file NvidiaKernel.h.

References jit_wall_time_idx, and option_values.

42  {
43  return *reinterpret_cast<float const*>(&option_values[jit_wall_time_idx]);
44  }
std::vector< void * > option_values
Definition: NvidiaKernel.h:33
size_t jit_wall_time_idx
Definition: NvidiaKernel.h:39

Member Data Documentation

void* CubinResult::cubin

Definition at line 31 of file NvidiaKernel.h.

size_t CubinResult::cubin_size

Definition at line 35 of file NvidiaKernel.h.

std::string CubinResult::error_log

Definition at line 38 of file NvidiaKernel.h.

std::string CubinResult::info_log

Definition at line 37 of file NvidiaKernel.h.

size_t CubinResult::jit_wall_time_idx

Definition at line 39 of file NvidiaKernel.h.

Referenced by jitWallTime().

CUlinkState CubinResult::link_state

Definition at line 34 of file NvidiaKernel.h.

std::vector<CUjit_option> CubinResult::option_keys

Definition at line 32 of file NvidiaKernel.h.

std::vector<void*> CubinResult::option_values

Definition at line 33 of file NvidiaKernel.h.

Referenced by jitWallTime().


The documentation for this struct was generated from the following file: