llvm/tests/fp16-abi/test.cpp
Jesus Checa Hidalgo 6c3812f472 Gather common tmt metadata
Moved tests under tests directory
Extracted common metadata into tests/main.fmf.
2024-03-07 15:37:47 +01:00

14 lines
335 B
C++

// Reproducer based on this code from Steve Leung (evetsso):
// https://github.com/ROCmSoftwarePlatform/rocFFT/issues/439#issuecomment-1693835987
#include <iostream>
#include <algorithm>
#include <vector>
int main()
{
_Float16 one_f16 = 0.123;
float one_f32 = one_f16;
std::cout << one_f32 << std::endl;
return 0;
}