From 9c7a8421638185ec43cbc5c81c3abcd9131293b9 Mon Sep 17 00:00:00 2001 From: Evghenii Date: Mon, 11 Nov 2013 12:25:47 +0100 Subject: [PATCH] ptx has support for half-float --- ispc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ispc.cpp b/ispc.cpp index 9f12a62d..86ee5220 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -662,7 +662,7 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic, boo this->m_nativeVectorWidth = 32; this->m_vectorWidth = 1; this->m_attributes = "+sm_35"; - this->m_hasHalf = false; + this->m_hasHalf = true; this->m_maskingIsFree = true; this->m_maskBitCount = 1; this->m_hasTranscendentals = false; //true;