Class KernelInteropTools
Inheritance
System.Object
KernelInteropTools
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public class KernelInteropTools
Fields
IsLinux
return true if environment is linux.
Declaration
public static Lazy<bool> IsLinux
Field Value
Type | Description |
---|---|
System.Lazy<System.Boolean> |
Methods
GetProcAddress(IntPtr, String)
Declaration
public static IntPtr GetProcAddress(IntPtr hModule, string procName)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | hModule | |
System.String | procName |
Returns
Type | Description |
---|---|
System.IntPtr |
LoadLibrary(String)
Declaration
public static IntPtr LoadLibrary(string libName)
Parameters
Type | Name | Description |
---|---|---|
System.String | libName |
Returns
Type | Description |
---|---|
System.IntPtr |