Displaying 5 results from an estimated 5 matches for "createkernel".
2004 May 11
2
[LLVMdev] Problems accessing structs
...MAP", long 0, ubyte 1
%tmp = load int ()** "getchar_kernelPTR"
"tmp_result" = call int ()* %tmp()
ret int "tmp_result"
}
I call it from main():
int %main() {
;Malloc's a Kernel and returns a pointer to it
"myKernel" = call "Kernel"* "createKernel"()
call int "callmyKernelgetchar_kernel"("Kernel"* "myKernel")
ret int 0
}
I get this output error message:
Hello Kernel
lli[0x844dd24]
lli[0x844df30]
/lib/tls/libc.so.6[0x420275c8]
lli(llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::vector<s...
2004 May 11
0
[LLVMdev] Problems accessing structs
...** "getchar_kernelPTR"
> "tmp_result" = call int ()* %tmp()
> ret int "tmp_result"
> }
>
> I call it from main():
>
> int %main() {
> ;Malloc's a Kernel and returns a pointer to it
> "myKernel" = call "Kernel"* "createKernel"()
>
> call int "callmyKernelgetchar_kernel"("Kernel"* "myKernel")
> ret int 0
> }
>
>
> I get this output error message:
>
> Hello Kernel
> lli[0x844dd24]
> lli[0x844df30]
> /lib/tls/libc.so.6[0x420275c8]
> lli(llvm::Exe...
2017 Jun 22
2
Legal names for Functions and other Identifiers
Thank You Chen !
On Thu, Jun 22, 2017 at 5:21 PM 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> Perhaps you can refer to [1]. Function name should be a global one.
>
> [1] http://llvm.org/docs/LangRef.html#identifiers
>
> HTH,
> chenwj
>
>
> 2017-06-22 16:35 GMT+08:00 SANJAY SRIVALLABH SINGAPURAM via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>>
2017 Jun 22
2
Legal names for Functions and other Identifiers
...he edits like the following to
<polly_src>/lib/CodeGen/PPCGCodeGeneration.cpp
<https://github.com/llvm-mirror/polly/blob/6b8cb877c2fa3ee0e626cac5811115a9c5c71b5b/lib/CodeGen/PPCGCodeGeneration.cpp#L1422>
achieves the above mentioned prefixing,
@@ -1419,7 +1438,9 @@ 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() + "...
2017 Mar 12
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
On Sat, Mar 11, 2017, at 07:34 PM, David Blaikie via llvm-dev wrote:
> On Sat, Mar 11, 2017 at 3:10 AM SANJAY SRIVALLABH SINGAPURAM via llvm-dev
> <
> llvm-dev at lists.llvm.org> wrote:
>
> > Hello,
> >
> > One of my Julia programs failed to execute with the following error,
> > DICompileUnit not listed in llvm.dbg.cu
> > !11 = distinct