Class DriverAPINativeMethods.ParameterManagement
Combines all kernel / function parameter management API calls
Inheritance
Inherited Members
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static class ParameterManagement
Methods
cuParamSetf(CUfunction, Int32, Single)
Sets a floating-point parameter that will be specified the next time the kernel corresponding to hfunc
will be invoked.
offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetf(CUfunction hfunc, int offset, float value)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add parameter to |
System.Int32 | offset | Offset to add parameter to argument list |
System.Single | value | Value of parameter |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSeti(CUfunction, Int32, UInt32)
Sets an integer parameter that will be specified the next time the kernel corresponding to hfunc
will be invoked.
offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSeti(CUfunction hfunc, int offset, uint value)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add parameter to |
System.Int32 | offset | Offset to add parameter to argument list |
System.UInt32 | value | Value of parameter |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetSize(CUfunction, UInt32)
Sets through numbytes
the total size in bytes needed by the function parameters of the kernel corresponding to
hfunc
.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetSize(CUfunction hfunc, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to set parameter size for |
System.UInt32 | numbytes | Size of parameter list in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetTexRef(CUfunction, CUParameterTexRef, CUtexref)
Makes the CUDA array or linear memory bound to the texture reference hTexRef
available to a device program as a
texture. In this version of CUDA, the texture-reference must be obtained via cuModuleGetTexRef(ref CUtexref, CUmodule, String) and the texunit
parameter must be set to Default.
Declaration
[Obsolete("cuParamSetTexRef() has been deprecated in CUDA Toolkit 3.2 since this API entry provided no functionality.")]
public static CUResult cuParamSetTexRef(CUfunction hfunc, CUParameterTexRef texunit, CUtexref hTexRef)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add texture-reference to |
CUParameterTexRef | texunit | Texture unit (must be Default) |
CUtexref | hTexRef | Texture-reference to add to argument list |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref char1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref char1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, char1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, char1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref char2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref char2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, char2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, char2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref char3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref char3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, char3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, char3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref char4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref char4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, char4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, char4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
char4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref cuDoubleComplex, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref cuDoubleComplex ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuDoubleComplex | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, cuDoubleComplex[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, cuDoubleComplex[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuDoubleComplex[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref cuDoubleReal, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref cuDoubleReal ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuDoubleReal | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, cuDoubleReal[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, cuDoubleReal[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuDoubleReal[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref cuFloatComplex, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref cuFloatComplex ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuFloatComplex | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, cuFloatComplex[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, cuFloatComplex[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuFloatComplex[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref cuFloatReal, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref cuFloatReal ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuFloatReal | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, cuFloatReal[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, cuFloatReal[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
cuFloatReal[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref dim3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref dim3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
dim3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, dim3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, dim3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
dim3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref double1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref double1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
double1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, double1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, double1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
double1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref double2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref double2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
double2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, double2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, double2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
double2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref float1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref float1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, float1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, float1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref float2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref float2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, float2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, float2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref float3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref float3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, float3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, float3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref float4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref float4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, float4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, float4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
float4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref int1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref int1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, int1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, int1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref int2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref int2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, int2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, int2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref int3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref int3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, int3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, int3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref int4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref int4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, int4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, int4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
int4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref long1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref long1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, long1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, long1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref long2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref long2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, long2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, long2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref long3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref long3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, long3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, long3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref long4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref long4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, long4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, long4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
long4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref short1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref short1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, short1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, short1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref short2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref short2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, short2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, short2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref short3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref short3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, short3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, short3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref short4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref short4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, short4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, short4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
short4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uchar1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uchar1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uchar1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uchar1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uchar2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uchar2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uchar2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uchar2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uchar3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uchar3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uchar3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uchar3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uchar4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uchar4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uchar4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uchar4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uchar4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uint1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uint1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uint1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uint1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uint2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uint2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uint2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uint2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uint3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uint3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uint3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uint3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref uint4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uint4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, uint4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uint4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
uint4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ulong1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ulong1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ulong1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ulong1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ulong2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ulong2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ulong2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ulong2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ulong3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ulong3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ulong3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ulong3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ulong4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ulong4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ulong4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ulong4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ulong4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ushort1, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ushort1 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort1 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ushort1[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ushort1[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort1[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ushort2, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ushort2 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort2 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ushort2[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ushort2[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort2[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ushort3, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ushort3 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort3 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ushort3[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ushort3[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort3[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref ushort4, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ushort4 ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort4 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ushort4[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ushort4[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
ushort4[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Byte, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref byte ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Byte | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Byte[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, byte[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Byte[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Double, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref double ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Double | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Double[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, double[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Double[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Int16, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref short ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int16 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Int16[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, short[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int16[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Int32, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref int ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int32 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Int32[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, int[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int32[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Int64, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref long ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int64 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Int64[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, long[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Int64[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, IntPtr, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, IntPtr ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.IntPtr | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref SByte, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref sbyte ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.SByte | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, SByte[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, sbyte[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.SByte[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref Single, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref float ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Single | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, Single[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, float[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.Single[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref UInt16, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ushort ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt16 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, UInt16[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ushort[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt16[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref UInt32, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref uint ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt32 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, UInt32[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, uint[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt32[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, ref UInt64, UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ref ulong ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt64 | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuParamSetv(CUfunction, Int32, UInt64[], UInt32)
Copies an arbitrary amount of data (specified in numbytes
) from ptr
into the parameter space of the kernel corresponding
to hfunc
. offset
is a byte offset.
Declaration
[Obsolete("Don't use this CUDA API call with CUDA version >= 4.0.")]
public static CUResult cuParamSetv(CUfunction hfunc, int offset, ulong[] ptr, uint numbytes)
Parameters
Type | Name | Description |
---|---|---|
CUfunction | hfunc | Kernel to add data to |
System.Int32 | offset | Offset to add data to argument list |
System.UInt64[] | ptr | Pointer to arbitrary data |
System.UInt32 | numbytes | Size of data to copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|