Esempio n. 1
0
 /// <summary> see CUDA doc; </summary>
 static public void LaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream)
 {
     testResult(my.cuLaunchGridAsync(f, grid_width, grid_height, hStream));
 }
Esempio n. 2
0
 /// <summary>
 /// see CUDA doc;
 /// </summary>
 public static void FuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config)
 {
     testResult(my.cuFuncSetCacheConfig(hfunc, config));
 }
Esempio n. 3
0
 /// <summary> see CUDA doc; </summary>
 public static void LaunchGrid(CUfunction f, int grid_width, int grid_height)
 {
     testResult(my.cuLaunchGrid(f, grid_width, grid_height));
 }
Esempio n. 4
0
 /// <summary> see CUDA doc; </summary>
 static public void FuncSetSharedSize(CUfunction hfunc, uint bytes)
 {
     testResult(my.cuFuncSetSharedSize(hfunc, bytes));
 }
Esempio n. 5
0
 /// <summary> see CUDA doc; </summary>
 static public void FuncGetAttribute(out int value, CUfunction_attribute attrib, CUfunction hfunc)
 {
     testResult(my.cuFuncGetAttribute(out value, attrib, hfunc));
 }
Esempio n. 6
0
 /// <summary> see CUDA doc; </summary>
 public static void FuncSetBlockShape(CUfunction hfunc, int x, int y, int z)
 {
     testResult(my.cuFuncSetBlockShape(hfunc, x, y, z));
 }
Esempio n. 7
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetSize(CUfunction hfunc, uint numbytes)
 {
     testResult(my.cuParamSetSize(hfunc, numbytes));
 }
Esempio n. 8
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetp(CUfunction hfunc, int offset, CUdeviceptr ptr)
 {
     ParamSetl(hfunc, offset, (long)ptr.p);
 }
Esempio n. 9
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetf(CUfunction hfunc, int offset, float value)
 {
     testResult(my.cuParamSetf(hfunc, offset, value));
 }
Esempio n. 10
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSeti(CUfunction hfunc, int offset, int value)
 {
     testResult(my.cuParamSeti(hfunc, offset, (uint)value));
 }