| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libclc] Reduce include usage in OpenCL builtins (#146840) This commit starts the process of reducing the amount of code included by OpenCL builtins, hopefully reducing build times in the process. It introduces a minimal OpenCL header - opencl-base.h - which includes only the OpenCL type definitions and the macros necessary for declaring/defining functions. Where the OpenCL builtin implementations would currently include the whole of <clc/opencl/clc.h>, which defines *all* OpenCL builtins, now they include only the specific declaration they need. This mirrors how the CLC builtins are defined. | 1 年前 | |
[libclc] Reorganize OpenCL builtins (#140557) This commits moves all OpenCL builtins under a top-level 'opencl' directory, akin to how the CLC builtins are organized. This new structure aims to better convey the separation of the two layers and that 'CLC' is not a subset of OpenCL or a libclc target. In doing so this commit moves the location of the 'lib' directory to match CLC: libclc/generic/lib/ becomes libclc/opencl/lib/generic/. This allows us to remove some special casing in CMake and ensure a common directory structure. It also tries to better communicate that the OpenCL headers are libclc-specific OpenCL headers and should not be confused with or used as standard OpenCL headers. It does so by ensuring includes are of the form <clc/opencl/*>. It might be that we don't specifically need the libclc OpenCL headers and we simply could use clang's built-in declarations, but we can revisit that later. Aside from the code move, there is some code formatting and updating a couple of OpenCL builtin includes to use the readily available gentype helpers. This allows us to remove some '.inc' files. | 1 年前 | |
[libclc] Reduce include usage in OpenCL builtins (#146840) This commit starts the process of reducing the amount of code included by OpenCL builtins, hopefully reducing build times in the process. It introduces a minimal OpenCL header - opencl-base.h - which includes only the OpenCL type definitions and the macros necessary for declaring/defining functions. Where the OpenCL builtin implementations would currently include the whole of <clc/opencl/clc.h>, which defines *all* OpenCL builtins, now they include only the specific declaration they need. This mirrors how the CLC builtins are defined. | 1 年前 | |
[libclc] Reorganize OpenCL builtins (#140557) This commits moves all OpenCL builtins under a top-level 'opencl' directory, akin to how the CLC builtins are organized. This new structure aims to better convey the separation of the two layers and that 'CLC' is not a subset of OpenCL or a libclc target. In doing so this commit moves the location of the 'lib' directory to match CLC: libclc/generic/lib/ becomes libclc/opencl/lib/generic/. This allows us to remove some special casing in CMake and ensure a common directory structure. It also tries to better communicate that the OpenCL headers are libclc-specific OpenCL headers and should not be confused with or used as standard OpenCL headers. It does so by ensuring includes are of the form <clc/opencl/*>. It might be that we don't specifically need the libclc OpenCL headers and we simply could use clang's built-in declarations, but we can revisit that later. Aside from the code move, there is some code formatting and updating a couple of OpenCL builtin includes to use the readily available gentype helpers. This allows us to remove some '.inc' files. | 1 年前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[libclc] Add generic implementation of bitfield_insert/extract,bit_reverse (#149070) The implementation is based on reference implementation in OpenCL-CTS/test_integer_ops. The generic implementations pass OpenCL-CTS/test_integer_ops tests on Intel GPU. | 1 年前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[libclc] Reduce include usage in OpenCL builtins (#146840) This commit starts the process of reducing the amount of code included by OpenCL builtins, hopefully reducing build times in the process. It introduces a minimal OpenCL header - opencl-base.h - which includes only the OpenCL type definitions and the macros necessary for declaring/defining functions. Where the OpenCL builtin implementations would currently include the whole of <clc/opencl/clc.h>, which defines *all* OpenCL builtins, now they include only the specific declaration they need. This mirrors how the CLC builtins are defined. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 |