now can generate both targets for npvtx64. m_isPTX is set true, to distuish when to either skip or exlcusive euse export

This commit is contained in:
Evghenii
2013-10-29 14:17:11 +01:00
parent 8baef6daa3
commit b31fc6f66d
3 changed files with 61 additions and 52 deletions

2
ispc.h
View File

@@ -189,7 +189,7 @@ public:
/** Initializes the given Target pointer for a target of the given
name, if the name is a known target. Returns true if the
target was initialized and false if the name is unknown. */
Target(const char *arch, const char *cpu, const char *isa, bool pic);
Target(const char *arch, const char *cpu, const char *isa, bool pic, bool isPTX = false);
/** Returns a comma-delimited string giving the names of the currently
supported compilation targets. */