fixing half2 fma from __global__ to __device_
@@ -30,8 +30,7 @@ extern "C" half2 llvm_fma_v2f16(half2, half2, half2) __asm("llvm.fma.v2f16");
__device__ __half __hfma(__half a, __half b, __half c);
-__global__
-inline half2 tensile_fmadd_half2(half2 multiplier, half2 multiplicand, half2 addend)
+__device__ inline half2 tensile_fmadd_half2(half2 multiplier, half2 multiplicand, half2 addend)
{
half2 result;
result = llvm_fma_v2f16(multiplier, multiplicand, addend);
