Displaying 20 results from an estimated 61 matches for "steinhoff".
2015 Jan 20
2
[LLVMdev] [ LLI / MCJIT] re-initializing of lli ...
...ng isn't handled by the JIT. This sounds like you're making
redundant calls to cl::ParseCommandLineOptions ?
Deleting the ExecutionEngine and any RTDyldMemoryManager instances that
you've created should be enough to reset the JIT.
Cheers,
Lang.
On Tue, Jan 20, 2015 at 12:38 PM, Armin Steinhoff <armin at steinhoff.de>
wrote:
>
> Hi,
>
> I'm using the code of the tool "lli" embedded in a process of a controll
> application.
>
> After the second JIT compile action I see the following messages:
>
> first JIT compile .. with a dump of the actual...
2015 Jan 18
4
[LLVMdev] New JIT APIs
> From: Armin Steinhoff [mailto:armin at steinhoff.de]
> Subject: Re: [LLVMdev] New JIT APIs
> is
> delete EE; // execution engine
> llvm_shutdown();
> sufficient ?
AFAICT, llvm_shutdown() must not be called unless you reach a point where LLVM will not be used again by the process (e.g., termination...
2012 Oct 13
2
[LLVMdev] Dynamically loading native code generated from LLVM IR
...in
Malea, Daniel wrote:
> Take a look at the MCJIT unit tests under unittests/ExecutionEngine/MCJIT
>
> The MCJITTestBase class does the majority of the interactions with the LLVM API you're referring to.
>
> Good luck,
> Dan
>
> On 2012-10-13, at 4:57 AM, "Armin Steinhoff" <as at steinhoff-automation.com> wrote:
>
>> Kaylor,
>>
>> do you have some good documented example code which shows the usage of the MCJIT ?
>> This would help a lot ... the sematic of lots of API calls are not intuitively understandable.
>>
>> Be...
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
It's definitely there. It was added in r165246 recently so you
probably have an older version.
Amara
On 13 October 2012 23:02, Armin Steinhoff <as at steinhoff-automation.com> wrote:
> Daniel,
>
> I didn't find the MCJIT directory under unitests/ExecutionEngine ... there
> is only a directory called JIT.
> You mean this directory ?
>
> Many thanks
>
> --Armin
>
>
>
>
> Malea, Daniel wrot...
2012 Nov 12
2
[LLVMdev] getPointerToGlobal() / MCJIT
Hi all,
are there any plans to correct/implement the "getPointerToGlobal()"
method for accessing global variables that are emitted by MCJIT?
(see for details the unit test of MCJIT)
Best Regards
Armin
2012 Nov 13
0
[LLVMdev] getPointerToGlobal() / MCJIT
As far as I know, no one is working to fix the test case in question. Patches welcome :)
Cheers,
Dan
On 2012-11-13, at 1:29 AM, "Armin Steinhoff" <armin at steinhoff.de> wrote:
>
> Hi all,
>
> are there any plans to correct/implement the "getPointerToGlobal()" method for accessing global variables that are emitted by MCJIT?
> (see for details the unit test of MCJIT)
>
> Best Regards
>
> A...
2005 Feb 02
2
Frequency of Data
Hello,
just another problem in R, maybe it's simple to solve for you. I didn't find
a solution up to now, but I'm convinced that I'm not the only one who
has/had a similar problem. Maybe there's a ready-made function in R?
The prob:
I've imported a CSV-file into R with 1000 dates of an observed event
(there's only information of the date. When there happend no
2005 Jun 09
4
position of a legend-object
Hello,
I've written a function that plots a few functions in a diagram.
The xlim and or ylim is not always the same, and set automatically by R.
A legend is part of this object.
Now the problem is: where to put the legend? Me would help a function that
returns the limits and scaling of the axis.
Thanks for your help.
Carsten
[[alternative HTML version deleted]]
2014 Jun 12
2
[LLVMdev] problems to recompile LLVM version 3.4.1 with gcc48 / SuSE 13.1
On Thu, Jun 12, 2014 at 10:57:46AM +0200, Armin Steinhoff wrote:
>
> Hi,
>
> first problem was:
>
> >FileManager.cpp:311:21: error: range-based for loops are not allowed
> >in C++98 mode
> >for (auto & fe: SeenFileEntries) {
> >^
> >FileManager.cpp:312:14: error: request for member getValue in fe,...
2005 Feb 25
2
Simulation Progress
Hi,
I've made a function that executes a monte-carlo simulation.
It always needs a lot of time until e.g. 1Mio simulation steps are done.
So I would like to know, how many percent of the work is already done.
In an Excel/VBA Solution I could easily implement a status bar or status
window.
How could an R-Solution look like?
Carsten
2005 Mar 23
2
Browser to replace the internal browser?
Hello,
I see that the more I work with R and the more the code gets larger I would
like to have some graphic support in my quellcode.
Is there a browser that could be easily implemened in R?
And how do I call it from R? It would be nice if the browser replaces the
"fix()" function.
Carsten
2005 Jun 29
2
MLE with optim
Hello,
I tried to fit a lognormal distribution by using optim. But sadly the output
seems to be incorrect.
Who can tell me where the "bug" is?
test = rlnorm(100,5,3)
logL = function(parm, x,...) -sum(log(dlnorm(x,parm,...)))
start = list(meanlog=5, sdlog=3)
optim(start,logL,x=test)$par
Carsten.
[[alternative HTML version deleted]]
2014 Jun 10
6
[LLVMdev] Suggestions for optimizations
Hello!
I was trying to optimize our automatically generated backend for Open
RISC and for this purpose I went through the
gcc torture testsuite.
There are many programs that are better optimized by LLVM, but some are
much better optimized by gcc 4.9.
The main limitations were is loop unrolling and structures handling.
Differences can be best seen e.g. when compiling for an
2015 Jan 16
5
[LLVMdev] New JIT APIs
...by "can only be used once" in this
context. Regardless, the new APIs are definitely designed to make it easier
to lead, unload and replace modules, and I hope they will support a wider
range of use cases off-the-shelf than MCJIT does.
Cheers,
Lang.
On Fri, Jan 16, 2015 at 2:41 AM, Armin Steinhoff <armin at steinhoff.de> wrote:
>
> Hi Lang,
>
> we are using the JIT API of TCC and the MCJIT API in order to import
> external code into a running control application process.
>
> The MCJIT API can only be used once to JIT compile external souces to
> excuteable cod...
2005 Jan 31
2
ML-Fit for truncated distributions
Hello,
maybe that my Question is a "beginner"-Question, but up to now, my research
didn't bring any useful result.
I'm trying to fit a distribution (e.g. lognormal) to a given set of data
(ML-Estimation). I KNOW about my data that there is a truncation for all
data below a well known threshold. Is there an R-solution for an
ML-estimation for this kind of data-problem? As
2005 Jul 19
2
Problems with date-format (R 2.1.1 + chron)
Hello,
today I've updated on the newest R-Version. But sadly a function I needed
didnt want to work:
The input is e.g.
days(as.Date("21-07-2005","%d-%m-%y"))
the error is: Fehler in Math.Date(dts): floor nicht definiert f??r Date
Objekte
(Error in Math.Date(dts): floor not defined for date objects)
Same for year. Only months gives me the correct output.
In Version
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
Take a look at the MCJIT unit tests under unittests/ExecutionEngine/MCJIT
The MCJITTestBase class does the majority of the interactions with the LLVM API you're referring to.
Good luck,
Dan
On 2012-10-13, at 4:57 AM, "Armin Steinhoff" <as at steinhoff-automation.com> wrote:
>
> Kaylor,
>
> do you have some good documented example code which shows the usage of the MCJIT ?
> This would help a lot ... the sematic of lots of API calls are not intuitively understandable.
>
> Best Regards
>
>...
2012 Oct 13
2
[LLVMdev] Dynamically loading native code generated from LLVM IR
Kaylor,
do you have some good documented example code which shows the usage of
the MCJIT ?
This would help a lot ... the sematic of lots of API calls are not
intuitively understandable.
Best Regards
--Armin
Kaylor, Andrew wrote:
> I'm not sure I understand your use case, but MCJIT (as opposed to the legacy JIT) does almost exactly what you're asking for. It generates an
2012 Oct 12
1
[LLVMdev] Dynamically loading native code generated from LLVM IR
...gt; provide you with a function-pointer).
OK ... I have a similar issue. What happens if the code located in the
.o file has references to external libs ?
How can I link the inmemory .o file against the external libs ... just
to get a fully executable code segment in memory.
Best Regards
Armin Steinhoff
http://www.steinhoff-automation.com
> Is there any other reason you
> want to avoid it?
>
> Otherwise, only a full linker is capable of turning a .o into
> something loadable with "dlopen" or its equivalents. That's a lot of
> work, though I suppose you could fork...
2005 Jul 12
1
three par. fitting with fitdistr
Hello,
I want to fit a tree parameter distribution to given data. I tried it with
sample data using the "fitdistr" function.
Here my workflow that didn't had any result:
I started with the generalized gamma distr, which is:
r*dgamma(x^r,shape,rate)
The R-function is:
ggamma = function (x,r,shape,rate) r*dgamma(x^r,shape,rate=rate)
For the first step I assumed r = 1 and I