
opencl
directx3d_beginner
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
调通第一个opencl例子
就是opencl编程指南的helloworld,问题是分配空间较大后越界贴代码如下test.cl__kernel void hello_kernel( __global const float * a, __global const float * b, __global float*...原创 2018-06-13 14:12:02 · 922 阅读 · 0 评论 -
对opencl helloworld代码的修正
由于代码比较乱,数组也容易越界,故重新加了个类,用了stl::vector,代码如下test.cl__kernel void hello_kernel( __global const float * a, __global const float * b, __global float...原创 2018-06-13 18:28:12 · 237 阅读 · 0 评论 -
opencl的helloworld,将输入和输出部分分开
分开了输入和输出test.cl__kernel void hello_kernel( __global const float * a, __global const float * b, __global float* result ){ int gid = get_globa...原创 2018-06-13 22:11:27 · 508 阅读 · 0 评论