[PATCH] D26476: [AMDGPU] Add support for f16 builtin functions for VI+

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 11 10:03:30 PST 2016


arsenm added inline comments.


================
Comment at: test/CodeGenOpenCL/builtins-amdgcn-error-f16-class.cl:1-9
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -triple amdgcn-unknown-amdhsa -target-cpu tahiti -verify -S -o - %s
+
+#pragma OPENCL EXTENSION cl_khr_fp16 : enable
+
+void test_class_f16(global half* out, half a, int b)
+{
----------------
These tests can all be in the same file 


https://reviews.llvm.org/D26476





More information about the cfe-commits mailing list