blob: ffe26bbbca6a9e82eabaa327b572c4a91fad1819 [file] [log] [blame] [edit]
float16_t get_f16() {
return float16_t(1.0h);
}
void f() {
vector<float16_t, 2> v2 = vector<float16_t, 2>((get_f16()).xx);
vector<float16_t, 3> v3 = vector<float16_t, 3>((get_f16()).xxx);
vector<float16_t, 4> v4 = vector<float16_t, 4>((get_f16()).xxxx);
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}