search for: dumpobject

Displaying 3 results from an estimated 3 matches for "dumpobject".

Did you mean: dump_object
2017 Nov 14
1
OrcJIT + CUDA Prototype for Cling
...ject files > being generated by the compiler to see what might be wrong with them. > > Something like this: > > class KaleidoscopeJIT { > private: > >   using ObjectPtr = > std::shared_ptr<object::OwningBinary<object::ObjectFile>>; > >   static ObjectPtr dumpObject(ObjectPtr Obj) { >     SmallVector<char, 256> UniqueObjFileName; >     sys::fs::createUniqueFile("jit-object-%%%.o", UniqueObjFileName); >     std::error_code EC; >     raw_fd_ostream ObjFileStream(UniqueObjFileName.data(), EC, > sys::fs::F_RW); >     ObjFileStream...
2017 Sep 27
2
OrcJIT + CUDA Prototype for Cling
Dear LLVM-Developers and Vinod Grover, we are trying to extend the cling C++ interpreter (https://github.com/root-project/cling) with CUDA functionality for Nvidia GPUs. I already developed a prototype based on OrcJIT and am seeking for feedback. I am currently a stuck with a runtime issue, on which my interpreter prototype fails to execute kernels with a CUDA runtime error. === How to use the
2020 Sep 04
2
Performance of JIT execution
Hello, I recently noticed a performance issue of JIT execution vs native code of the following simple logic which computes the Fibonacci sequence: uint64_t fib(int n) { if (n <= 2) { return 1; } else { return fib(n-1) + fib(n-2); } } When compiled natively using clang++ with -O3, it took 0.17s to compute fib(40). However, when executing using LLJIT, fed with the IR output of "clang++