本文整理汇总了C#中cudaMemcpyKind类的典型用法代码示例。如果您正苦于以下问题:C# cudaMemcpyKind类的具体用法?C# cudaMemcpyKind怎么用?C# cudaMemcpyKind使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
cudaMemcpyKind类属于命名空间,在下文中一共展示了cudaMemcpyKind类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: cudaMemcpy
public static extern cudaError cudaMemcpy([Out] ulong[] dst, CUdeviceptr src, uint count, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例2: cudaMemcpyArrayToArray
public static extern cudaError cudaMemcpyArrayToArray(ref cudaArray dst, ulong wOffsetDst, ulong hOffsetDst, ref cudaArray src, ulong wOffsetSrc, ulong hOffsetSrc, ulong count, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例3: cudaMemcpyAsync
public static extern cudaError cudaMemcpyAsync(CUdeviceptr dst, IntPtr src, uint count, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例4: cudaMemcpy2DToArrayAsync
public static extern cudaError cudaMemcpy2DToArrayAsync(ref cudaArray dst, uint wOffset, uint hOffset, CUdeviceptr src, uint spitch, uint width, uint height, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例5: cudaMemcpy2DToArray
public static extern cudaError cudaMemcpy2DToArray(ref cudaArray dst, int wOffset, int hOffset, CUdeviceptr src, int spitch, int width, int height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例6: cudaMemcpy2DArrayToArray
public static extern cudaError cudaMemcpy2DArrayToArray(ref cudaArray dst, ulong wOffsetDst, ulong hOffsetDst, ref cudaArray src, ulong wOffsetSrc, ulong hOffsetSrc, ulong width, ulong height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例7: 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
示例8: cudaMemcpy2D
public static extern cudaError cudaMemcpy2D(IntPtr dst, uint dpitch, CUdeviceptr src, uint spitch, uint width, uint height, cudaMemcpyKind kind);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例9: cudaMemcpy2DFromArrayAsync
public static extern cudaError cudaMemcpy2DFromArrayAsync(IntPtr dst, ulong dpitch, ref cudaArray src, ulong wOffset, ulong hOffset, ulong width, ulong height, cudaMemcpyKind kind, cudaStream stream);
开发者ID:constructor-igor,项目名称:cudafy,代码行数:1,代码来源:CUDARuntime.cs
示例10: 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
示例11: cudaMemcpy
public static extern cudaError cudaMemcpy(
IntPtr dst,
IntPtr src,
ulong count,
cudaMemcpyKind kind
);
开发者ID:yhbyhb,项目名称:CSCuda,代码行数:6,代码来源:cuda_runtime_api.cs
注:本文中的cudaMemcpyKind类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论