Add detection of whether LLVM has PTX in the windows build
This commit is contained in:
parent
f985d1b034
commit
01b55b48f7
3 changed files with 22 additions and 11 deletions
|
|
@ -45,15 +45,10 @@
|
|||
#define LLVM_HAS_NVPTX 0
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define LLVM_DISABLE_PTX
|
||||
#endif
|
||||
|
||||
#include "llvm-c/Transforms/PassManagerBuilder.h"
|
||||
|
||||
#include "llvm_c_extra.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue