Class LinuxKernelInteropTools
Inheritance
System.Object
LinuxKernelInteropTools
Implements
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 LinuxKernelInteropTools : IKernelInteropTools
Methods
ExecuteBashCommand(String)
executes a bash command
Declaration
public static string ExecuteBashCommand(string command)
Parameters
Type | Name | Description |
---|---|---|
System.String | command |
Returns
Type | Description |
---|---|
System.String |
FreeLibrary(IntPtr)
Declaration
public void FreeLibrary(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle |
GetProcAddress(IntPtr, String)
Declaration
public IntPtr GetProcAddress(IntPtr dllHandle, string name)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dllHandle | |
System.String | name |
Returns
Type | Description |
---|---|
System.IntPtr |
LoadLibrary(String)
Declaration
public IntPtr LoadLibrary(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
System.IntPtr |