added cpuFromIsa to nvptx target
This commit is contained in:
1
ispc.cpp
1
ispc.cpp
@@ -600,6 +600,7 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic) :
|
|||||||
this->m_hasTranscendentals = true;
|
this->m_hasTranscendentals = true;
|
||||||
this->m_hasTrigonometry = true;
|
this->m_hasTrigonometry = true;
|
||||||
this->m_hasGather = this->m_hasScatter = false;
|
this->m_hasGather = this->m_hasScatter = false;
|
||||||
|
cpuFromIsa = "sm_35";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Error(SourcePos(), "Target \"%s\" is unknown. Choices are: %s.",
|
Error(SourcePos(), "Target \"%s\" is unknown. Choices are: %s.",
|
||||||
|
|||||||
Reference in New Issue
Block a user