Displaying 2 results from an estimated 2 matches for "uniqueobjfilename".
2017 Nov 14
1
OrcJIT + CUDA Prototype for Cling
...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.write(Obj->getBinary()->getData().data(),
> ...
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