added cpuFromIsa to nvptx target

This commit is contained in:
evghenii
2014-07-08 07:53:50 +02:00
parent 69f3898a61
commit 6f3e6f368a

View File

@@ -600,6 +600,7 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic) :
this->m_hasTranscendentals = true;
this->m_hasTrigonometry = true;
this->m_hasGather = this->m_hasScatter = false;
cpuFromIsa = "sm_35";
}
else {
Error(SourcePos(), "Target \"%s\" is unknown. Choices are: %s.",