User Tools

Site Tools


api:dk11:delphi:giscuda.tgis_cudaprogram

TGIS_CUDAProgram class

DK11 for Delphi | GisCUDA.TGIS_CUDAProgram | Classes | Constructors | Methods | Properties

Provides the means to execute a CUDA program.

Available also on: ActiveX.

Syntax

// Delphi
type
  TGIS_CUDAProgram = class( TGIS_ObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_CUDAProgram : public TGIS_ObjectDisposable
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Creates an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
CheckArgument public Checks if an argument of the active kernel has been propertly set.
EnqueueKernel public Enqueues a kernel for execution and sets it as the active kernel.
Execute public Executes the CUDA program.
LoadFromFile public Loads a CUDA program (cubin, PTX or fatbin image) from a text file and enqueues a kernel for execution.
LoadFromString public Loads a CUDA program from a string (cubin, PTX or fatbin image) and enqueues a kernel for execution.
ReadArgument public Reads an argument of the active kernel.
SetArgument public Sets an argument of the active kernel.
ShareArgument public Sets a argument of the active kernel with a argument already set for another kernel.

Properties

Inherited Protected
Name Visibility Description
BlockDimensions public Block dimensions of the active kernel.
ErrorCode public Last error code returned by the CUDA engine.
ErrorName public String representation of the last error returned by the CUDA engine.
ErrorString public String description of the last error returned by the CUDA engine.
GridDimensions public Grid dimensions of the active kernel.
KernelCount public Number of enqueued kernels of the CUDA program.
KernelIndex public Index of the active kernel.
KernelName public Name of the active kernel.

2019/01/25 16:23