This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
#include<iostream> | |
float *A, *B, *C; | |
int N = 1000, K = 1200 , M = 1100; | |
float alpha=1.5, beta = 1.2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/CodeGen/PPCGCodeGeneration.cpp b/lib/CodeGen/PPCGCodeGeneration.cpp | |
index 37f7dae..1f6cace 100644 | |
--- a/lib/CodeGen/PPCGCodeGeneration.cpp | |
+++ b/lib/CodeGen/PPCGCodeGeneration.cpp | |
@@ -1419,7 +1419,7 @@ void GPUNodeBuilder::createKernel(__isl_take isl_ast_node *KernelStmt) { | |
Builder.SetInsertPoint(&HostInsertPoint); | |
Value *Parameters = createLaunchParameters(Kernel, F, SubtreeValues); | |
- std::string Name = "kernel_" + std::to_string(Kernel->id); | |
+ std::string Name = S.getFunction().getName().str() + "_kernel_" + std::to_string(Kernel->id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'add_mat' | |
source_filename = "add_mat" | |
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-unknown-linux-gnu" | |
; Function Attrs: sspstrong | |
define void @julia_add_mat_64414(i8** dereferenceable(40), i8** dereferenceable(40)) #0 !dbg !5 { | |
top: | |
br label %top.split, !dbg !22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUILD_TYPE= | |
is_BUILD_SHARED_LIBS= | |
is_LLVM_LINK_LLVM_DYLIB= | |
is_LLVM_POLLY_LINK_INTO_TOOLS= | |
BUILD_TYPES=("Release" "Debug") | |
BOOL_VALS_ASC=("OFF" "ON") | |
BOOL_VALS_DESC=("ON" "OFF") | |
_options_="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/c++ | |
-fPIC | |
-fvisibility-inlines-hidden | |
-std=c++11 | |
-Wall | |
-W | |
-Wno-unused-parameter | |
-Wwrite-strings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linux-vdso.so.1 => (0x00007ffff973a000) | |
libPolly.so => /home/sanjay/Software/polly_julia/llvm_build/lib/libPolly.so (0x00007f2ac9eaf000) | |
libLLVMDebugInfoDWARF.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMDebugInfoDWARF.so.5 (0x00007f2ac9d63000) | |
libLLVMX86Disassembler.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMX86Disassembler.so.5 (0x00007f2ac9bf8000) | |
libLLVMX86AsmParser.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMX86AsmParser.so.5 (0x00007f2ac9b0f000) | |
libLLVMX86CodeGen.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMX86CodeGen.so.5 (0x00007f2ac9587000) | |
libLLVMX86Desc.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMX86Desc.so.5 (0x00007f2ac934f000) | |
libLLVMMCDisassembler.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMMCDisassembler.so.5 (0x00007f2ac9331000) | |
libLLVMX86Info.so.5 => /home/sanjay/Software/polly_julia/llvm_build/lib/libLLVMX86Info.so.5 (0x00007f2ac932c000) | |
libLLVMExecutionEngine.so |