[triton-c] predicate in assignment statement now propagates to rhs

computations
This commit is contained in:
Philippe Tillet
2019-04-27 14:00:15 -04:00
parent 4b77b764ba
commit af58b8bd81
9 changed files with 36 additions and 25 deletions

View File

@@ -253,7 +253,7 @@ std::string cu_module::compile_llvm_module(llvm::Module* module) {
cu_module::cu_module(driver::context * context, llvm::Module* ll_module): cu_module(context, compile_llvm_module(ll_module)) { }
cu_module::cu_module(driver::context * context, std::string const & source) : module(context, CUmodule(), true), source_(source){
std::cout << source << std::endl;
// std::cout << source << std::endl;
cu_context::context_switcher ctx_switch(*context);
// JIT compile source-code
CUjit_option opt[] = {CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES, CU_JIT_ERROR_LOG_BUFFER};