瀏覽代碼

examples/block/block_kernel.cl: typo

Nathalie Furmento 15 年之前
父節點
當前提交
63a9dc3a29
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/block/block_kernel.cl

+ 1 - 1
examples/block/block_kernel.cl

@@ -14,7 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-__kernel void block(__global float *b, int nx, int ny, int nz, __global float multiplier)
+__kernel void block(__global float *b, int nx, int ny, int nz, float multiplier)
 {
         const int i = get_global_id(0);
         if (i < nx*ny*nz) {