Example #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));
 }
Example #2
0
 /// <summary>
 /// see CUDA doc;
 /// </summary>
 public static void FuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config)
 {
     testResult(my.cuFuncSetCacheConfig(hfunc, config));
 }
Example #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));
 }
Example #4
0
 /// <summary> see CUDA doc; </summary>
 static public void FuncSetSharedSize(CUfunction hfunc, uint bytes)
 {
     testResult(my.cuFuncSetSharedSize(hfunc, bytes));
 }
Example #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));
 }
Example #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));
 }
Example #7
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetSize(CUfunction hfunc, uint numbytes)
 {
     testResult(my.cuParamSetSize(hfunc, numbytes));
 }
Example #8
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetp(CUfunction hfunc, int offset, CUdeviceptr ptr)
 {
     ParamSetl(hfunc, offset, (long)ptr.p);
 }
Example #9
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSetf(CUfunction hfunc, int offset, float value)
 {
     testResult(my.cuParamSetf(hfunc, offset, value));
 }
Example #10
0
 /// <summary> see CUDA doc; </summary>
 static public void ParamSeti(CUfunction hfunc, int offset, int value)
 {
     testResult(my.cuParamSeti(hfunc, offset, (uint)value));
 }