LibreOffice Module opencl (master) 1
Static Public Member Functions | Public Attributes | List of all members
openclwrapper::GPUEnv Struct Reference

#include <openclwrapper.hxx>

Static Public Member Functions

static bool isOpenCLEnabled ()
 

Public Attributes

cl_platform_id mpPlatformID
 
cl_context mpContext
 
cl_device_id mpDevID
 
cl_command_queue mpCmdQueue [OPENCL_CMDQUEUE_SIZE]
 
bool mbCommandQueueInitialized
 
cl_program mpArryPrograms [MAX_CLFILE_NUM]
 
int mnIsUserCreated
 
int mnCmdQueuePos
 
bool mnKhrFp64Flag
 
bool mnAmdFp64Flag
 
bool mbNeedsTDRAvoidance
 

Detailed Description

Definition at line 37 of file openclwrapper.hxx.

Member Function Documentation

◆ isOpenCLEnabled()

bool openclwrapper::GPUEnv::isOpenCLEnabled ( )
static

Definition at line 939 of file openclwrapper.cxx.

References openclwrapper::gpuEnv, mpContext, and mpDevID.

Member Data Documentation

◆ mbCommandQueueInitialized

bool openclwrapper::GPUEnv::mbCommandQueueInitialized

◆ mbNeedsTDRAvoidance

bool openclwrapper::GPUEnv::mbNeedsTDRAvoidance

Definition at line 50 of file openclwrapper.hxx.

◆ mnAmdFp64Flag

bool openclwrapper::GPUEnv::mnAmdFp64Flag

Definition at line 49 of file openclwrapper.hxx.

◆ mnCmdQueuePos

int openclwrapper::GPUEnv::mnCmdQueuePos

◆ mnIsUserCreated

int openclwrapper::GPUEnv::mnIsUserCreated

Definition at line 46 of file openclwrapper.hxx.

Referenced by releaseOpenCLEnv().

◆ mnKhrFp64Flag

bool openclwrapper::GPUEnv::mnKhrFp64Flag

Definition at line 48 of file openclwrapper.hxx.

◆ mpArryPrograms

cl_program openclwrapper::GPUEnv::mpArryPrograms[MAX_CLFILE_NUM]

◆ mpCmdQueue

cl_command_queue openclwrapper::GPUEnv::mpCmdQueue[OPENCL_CMDQUEUE_SIZE]

◆ mpContext

cl_context openclwrapper::GPUEnv::mpContext

◆ mpDevID

cl_device_id openclwrapper::GPUEnv::mpDevID

◆ mpPlatformID

cl_platform_id openclwrapper::GPUEnv::mpPlatformID

Definition at line 40 of file openclwrapper.hxx.


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