http://www.emgu.com
Create an opencl kernel
Namespace:
Emgu.CV.Ocl
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic bool Create(
string kernelName,
ProgramSource programSource,
string buildOps = null,
CvString errMsg = null
)
Public Function Create (
kernelName As String,
programSource As ProgramSource,
Optional buildOps As String = Nothing,
Optional errMsg As CvString = Nothing
) As Boolean
public:
bool Create(
String^ kernelName,
ProgramSource^ programSource,
String^ buildOps = nullptr,
CvString^ errMsg = nullptr
)
member Create :
kernelName : string *
programSource : ProgramSource *
?buildOps : string *
?errMsg : CvString
(* Defaults:
let _buildOps = defaultArg buildOps null
let _errMsg = defaultArg errMsg null
*)
-> bool
Parameters
- kernelName
- Type: SystemString
The name of the kernel - programSource
- Type: Emgu.CV.OclProgramSource
The program source code - buildOps (Optional)
- Type: SystemString
The build options - errMsg (Optional)
- Type: Emgu.CVCvString
Option error message container that can be passed to this function
Return Value
Type:
BooleanTrue if the kernel can be created
See Also