forked from OSchip/llvm-project
e994e74bca
Added __cl_clang_non_portable_kernel_param_types extension that allows using non-portable types as kernel parameters. This allows bypassing the portability guarantees from the restrictions specified in C++ for OpenCL v1.0 s2.4. Currently this only disables the restrictions related to the data layout. The programmer should ensure the compiler generates the same layout for host and device or otherwise the argument should only be accessed on the device side. This extension could be extended to other case (e.g. permitting size_t) if desired in the future. Patch by olestrohm (Ole Strohm)! https://reviews.llvm.org/D101168 |
||
---|---|---|
.. | ||
address-space-castoperators.clcpp | ||
address-space-cond.clcpp | ||
address-space-deduction.clcpp | ||
address-space-lambda.clcpp | ||
address-space-of-this-class-scope.clcpp | ||
address-space-of-this.clcpp | ||
address-space-references.clcpp | ||
address-space-templates.clcpp | ||
address_space_overloading.clcpp | ||
addrspace-auto.clcpp | ||
addrspace_cast.clcpp | ||
addrspace_cast_ast_dump.clcpp | ||
invalid-kernel.clcpp | ||
members.clcpp | ||
method-overload-address-space.clcpp | ||
newdelete.clcpp | ||
private-access-specifier.cpp | ||
references.clcpp | ||
restricted.clcpp | ||
template-astype.cl | ||
template-opencl-types.clcpp |