本文整理汇总了C#中GASS.Types.SizeT类的典型用法代码示例。如果您正苦于以下问题:C# SizeT类的具体用法?C# SizeT怎么用?C# SizeT使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SizeT类属于GASS.Types命名空间,在下文中一共展示了SizeT类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: cudaMallocPitch
public static extern cudaError cudaMallocPitch(ref CUdeviceptr devPtr, ref SizeT pitch, SizeT width, SizeT height);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例2: GenerateUniformDouble
public curandStatus GenerateUniformDouble(RandGenerator generator, IntPtr outputPtr, SizeT n)
{
return curandGenerateUniformDouble(generator, outputPtr, n);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:4,代码来源:CURANDDriver.cs
示例3: GenerateNormal
public curandStatus GenerateNormal(RandGenerator generator, IntPtr outputPtr, SizeT n, float mean, float stddev)
{
return curandGenerateNormal(generator, outputPtr, n, mean, stddev);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:4,代码来源:CURANDDriver.cs
示例4: curandGenerateLongLong
private static extern curandStatus curandGenerateLongLong(RandGenerator generator, IntPtr outputPtr, SizeT num);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CURANDDriver.cs
示例5: curandGenerateNormalDouble
private static extern curandStatus curandGenerateNormalDouble(RandGenerator generator, IntPtr outputPtr, SizeT n, double mean, double stddev);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CURANDDriver.cs
示例6: cudaMemcpyAsync
public static extern cudaError cudaMemcpyAsync(CUdeviceptr dst, IntPtr src, SizeT count, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例7: cudaD3D9ResourceGetMappedSize
public static extern cudaError cudaD3D9ResourceGetMappedSize(ref SizeT pSize, IntPtr pResource, uint face, uint level);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUD3D9Runtime.cs
示例8: cudaMemcpy
public static extern cudaError cudaMemcpy(CUdeviceptr dst, [In] uint[] src, SizeT count, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例9: cudaMemcpy2D
public static extern cudaError cudaMemcpy2D(CUdeviceptr dst, SizeT dpitch, IntPtr src, SizeT spitch, SizeT width, SizeT height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例10: cudaMemcpy2DToArrayAsync
public static extern cudaError cudaMemcpy2DToArrayAsync(ref cudaArray dst, SizeT wOffset, SizeT hOffset, IntPtr src, SizeT spitch, SizeT width, SizeT height, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例11: cudaMemcpy2DArrayToArray
public static extern cudaError cudaMemcpy2DArrayToArray(ref cudaArray dst, SizeT wOffsetDst, SizeT hOffsetDst, ref cudaArray src, SizeT wOffsetSrc, SizeT hOffsetSrc, SizeT width, SizeT height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例12: cudaMemcpyArrayToArray
public static extern cudaError cudaMemcpyArrayToArray(ref cudaArray dst, SizeT wOffsetDst, SizeT hOffsetDst, ref cudaArray src, SizeT wOffsetSrc, SizeT hOffsetSrc, SizeT count, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例13: cudaBindTexture
public static extern cudaError cudaBindTexture(ref SizeT offset, ref textureReference texref, CUdeviceptr devPtr, ref cudaChannelFormatDesc desc, SizeT size);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例14: cudaD3D9ResourceGetMappedPitch
public static extern cudaError cudaD3D9ResourceGetMappedPitch(ref SizeT pPitch, ref SizeT pSlicePitch, IntPtr pResource, uint face, uint level);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUD3D9Runtime.cs
示例15: cudaMemcpy2DAsync
public static extern cudaError cudaMemcpy2DAsync(IntPtr dst, SizeT dpitch, CUdeviceptr src, SizeT spitch, SizeT width, SizeT height, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例16: cudaD3D9ResourceGetSurfaceDimensions
public static extern cudaError cudaD3D9ResourceGetSurfaceDimensions(ref SizeT pWidth, ref SizeT pHeight, ref SizeT pDepth, IntPtr pResource, uint face, uint level);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUD3D9Runtime.cs
示例17: cudaMemcpy2DFromArray
public static extern cudaError cudaMemcpy2DFromArray(CUdeviceptr dst, SizeT dpitch, ref cudaArray src, SizeT wOffset, SizeT hOffset, SizeT width, SizeT height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例18: curandGenerateNormal
private static extern curandStatus curandGenerateNormal(RandGenerator generator, IntPtr outputPtr, SizeT n, float mean, float stddev);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CURANDDriver.cs
示例19: cudaMemcpy2DFromArrayAsync
public static extern cudaError cudaMemcpy2DFromArrayAsync(IntPtr dst, SizeT dpitch, ref cudaArray src, SizeT wOffset, SizeT hOffset, SizeT width, SizeT height, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例20: curandGenerateUniformDouble
private static extern curandStatus curandGenerateUniformDouble(RandGenerator generator, IntPtr outputPtr, SizeT num);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CURANDDriver.cs
注:本文中的GASS.Types.SizeT类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论