search for: createuniquefil

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

Did you mean: createuniquefile
2017 Nov 09
10
Experiment on how to improve our temporary file handing.
Currently a power failure or other hard crash can cause lld leave a temporary file around. The same is true for other llvm tools. As an example, put a breakpoint in Writer.cpp:236 ("writeBuildId()") and restart the run a few times. You will get t.tmp43a735a t.tmp4deeabb t.tmp9bacdd3 t.tmpe4115c4 t.tmpeb01fff The same would happen if there was a fatal error between the
2017 Nov 14
1
OrcJIT + CUDA Prototype for Cling
...ng 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