User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_cudaprogram.loadfromfile_widestring_widestring

Table of Contents

ITGIS_CUDAProgram.LoadFromFile method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_CUDAProgram.LoadFromFile | Methods | Properties

Loads a CUDA program (cubin, PTX or fatbin image) from a text file and enqueues a kernel for execution.

Available also on: Delphi.

Syntax

// C#
public WordBool LoadFromFile(
  WideString _path,
  WideString _kernel
);
' VisualBasic
Public Function LoadFromFile(
  ByVal _path As WideString,
  ByVal _kernel As WideString
) As WordBool
// Oxygene
public
  function LoadFromFile(
    _path : WideString;
    _kernel : WideString
  ) : WordBool;

Parameters

Name Type Description
_path WideString path to the file
_kernel WideString name of the kernel function

Result

Type Description
WordBool True if the program was successfully loaded
2020/08/14 21:56

Page Tools