|
opencl 中双精度的标准扩展是 cl_khr_fp64,但是到目前为止,AMD 一直都未能实现相应的支持,而在最近的 opencl 官方网站扩展列表中,出现了一个 amd 的厂商扩展:
http://www.khronos.org/registry/cl/extensions/amd/cl_amd_fp64.txt
Status
Complete, shipping as part of ATi Stream SDK 2.1
Extension Type
OpenCL device extension
Dependencies
OpenCL 1.0 is required
Overview
This extension provides a subset of the functionality of that provided
by the cl_khr_fp64 extension. When enabled, the compiler recognizes
the double scalar and vector types, compiles expressions involving
those types, and accepts calls to all builtin functions enabled by
the cl_khr_fp64 extension. However, this extension does not guarantee
that all cl_khr_fp64 built in functions are implemented and does not
guarantee that the built in functions that have been implemented would
be considered conformant to the cl_khr_fp64 extension. |
|