【入门】OpenCL C的限制
来源:互联网 发布:2017全国进出口数据 编辑:程序博客网 时间:2024/05/20 22:39
OpenCL C编程语言是用来编写内核代码的编程语言。它是基于ISO C99标准的一个扩展子集,有着如下限制:
The pointer passed as an argument to a kernel function must be of type __global, __constant, or __local.
传入kernel的指针参数必须是__global, __constant, 或者__local型的.
Pointer to a pointer cannot be passed as an argument to a kernel function.
指向指针的指针不可以作为参数传给kernel函数。
Bit-fields are not supported.
不支持Bit-fields。
Variable length arrays and structures with flexible (or unsized) arrays are not supported.
不支持可变长度的数组和包含不确定长度的结构体。
Variadic macros and functions are not supported.
不支持可以改变参数的宏和方法。
不支持可以改变参数的宏和方法。
C99 standard headers cannot be included.
不能引入C99标准的头文件。
不能引入C99标准的头文件。
The extern, static, auto and register storage-class specifiers are not supported.
不支持extern, static, auto 和 register storage-class 声明符。
不支持extern, static, auto 和 register storage-class 声明符。
Predefined identifiers are not supported.
不支持预定于标示符。
不支持预定于标示符。
Recursion is not supported.
不支持递归。
不支持递归。
The function using the __kernel qualifier can only have return type void in the source code.
用__kernel限定的函数只能返回空类型。
用__kernel限定的函数只能返回空类型。
Writes to a pointer of type char, uchar, char2, uchar2, short, ushort, and half are not supported.
不支持指向char, uchar, char2, uchar2, short, ushort, and half型的指针。
不支持指向char, uchar, char2, uchar2, short, ushort, and half型的指针。
Support for double precision floating-point is currently an optional extension. It may or may not be implemented.
双精度float型指针现在是一个可选扩展,它不一定会不会实现。
双精度float型指针现在是一个可选扩展,它不一定会不会实现。
- 【入门】OpenCL C的限制
- OpenCL入门
- opencl kernel 参数限制
- OpenCL 学习笔记 - OpenCL C built-in functions - OpenCL C的内建函数
- 遇到的OpenCL kernel文件中参数的限制情况
- opencl编程简单的入门知识
- opencl:原子命令实现自旋锁(spinlock)的使用限制
- OpenCL: OpenCL的shader
- OpenCL快速入门
- opencl入门程序
- OpenCL入门-【1】
- OpenCL入门程序
- opencl入门介绍
- OpenCL入门一
- Altera OpenCL入门(一)环境变量的设计
- Altera OpenCL入门(二)环境变量的设计
- Programming with OpenCL C
- OpenCL编程入门(一)
- 小程序 (四)字符串压缩
- DBCP,C3P0,Tomcat_JDBC 性能及稳定性测试 ,DBCP,C3P0,Proxool,BoneCP参数介绍
- 向量容器2
- C# winform 获取标题栏,状态栏,菜单栏的高度
- Android数据存储之文件存储
- 【入门】OpenCL C的限制
- 【SPOTO】思博
- java log4j 详细说明
- java模拟get/post提交
- 以消息为基础,以事件驱动之
- ubuntu下用vi打开文件,方向键和退格键都不能用的解决办法
- android gradle include so libs
- A FLASH Bootloader for PIC16 and PIC18 Devices--硬译(五)
- C/C++ union用法(转)