diff options
author | Yang Rong <rong.r.yang@intel.com> | 2015-09-16 16:49:39 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2015-10-13 15:11:39 +0800 |
commit | 2af7dea8a3e405ed2686c43aff209c0fe6881735 (patch) | |
tree | 06908dcba4db986637a5b8a5c8d10938f0b201dc /kernels | |
parent | 5a42aa859688fe46abac4e3280b243eccc65416e (diff) |
fix llvm3.7 compiler_function_qualifiers utest fail.
Must explicit use void if function don't have parameter.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/compiler_function_qualifiers.cl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernels/compiler_function_qualifiers.cl b/kernels/compiler_function_qualifiers.cl index c904c843..c9f7e5d5 100644 --- a/kernels/compiler_function_qualifiers.cl +++ b/kernels/compiler_function_qualifiers.cl @@ -1,9 +1,9 @@ /* test OpenCL 1.1 Function Qualifiers (section 6.7) */ -kernel void compiler_function_qualifiers() +kernel void compiler_function_qualifiers(void) __attribute__((vec_type_hint(float))) __attribute__((work_group_size_hint(4,1,1))) __attribute__((reqd_work_group_size(4,1,1))); -kernel void compiler_function_qualifiers() +kernel void compiler_function_qualifiers(void) { } |