Displaying 18 results from an estimated 18 matches for "topt".
Did you mean:
top
2010 Jul 12
1
Custom nonlinear self starting function w/ 2 covariates
Hello,
I'm trying to adjust a non linear model in which the biological response
variable (ratio of germinated fungus spores) is dependent on 2 covariates
(temperature and time). The response to temperature is modeled by a kind of
beta function with 2 parameters (optimal and maximum temperatures) and the
time function is a 2-parameter Weibull. Adjustments with nls or gnls work,
but I need to
2007 Oct 25
0
Error message from nlmer
Hi,
I have R 2.6.0 with updated lme4 and Matrix packages, and I am trying to
fit a nonlinear multilevel model. I get the following error message:
Error in nlmer(f ~ grModel(x, w, Tmin, Tmax, Topt, kopt, m) ~ kopt |
flat, :
gradient attribute of evaluated model must be a numeric matrix
and I wonder what this may indicate.
The nonlinear model I try to fit is as follows:
> grModel
function(x,w,Tmin,Tmax,Topt,kopt,m)((x-Tmin)*(x-Tmax))/((x-Tmin)*(x-Tmax)-(x-Topt)^2)*kopt*w^m
and my c...
2018 Apr 19
2
How to set Target/Triple of ExecutionEngine
...my engine/module like this:
llvm::SmallVector<std::string,2> mattrs;
llvm::EngineBuilder builder{ unique_ptr<llvm::Module>(module) };
llvm::ExecutionEngine * ee = builder.
setErrorStr( &errStr ).
setEngineKind( llvm::EngineKind::JIT ).
setTargetOptions( topts ).
create(builder.selectTarget(
llvm::Triple(llvm::Triple::normalize(platform::target->triple)), "", "",
mattrs ));
module->setDataLayout( ee->getDataLayout() );
Where `module` is my `llvm::Module` with the generated IR code.
I'm using the...
2018 Apr 19
1
How to set Target/Triple of ExecutionEngine
Hi edaqa,
You might need to set your TargetOptions before calling selectTarget. E.g.
builder.setTargetOptions(Opts).selectTarget(...);
Or you could just let EngineBuilder call selectTarget for you (which is
what the no-argument version of EngineBuilder::create does):
llvm::ExecutionEngine * ee = builder.
setErrorStr( &errStr )....
2018 Apr 19
0
How to set Target/Triple of ExecutionEngine
...gt; llvm::SmallVector<std::string,2> mattrs;
> llvm::EngineBuilder builder{ unique_ptr<llvm::Module>(module) };
> llvm::ExecutionEngine * ee = builder.
> setErrorStr( &errStr ).
> setEngineKind( llvm::EngineKind::JIT ).
> setTargetOptions( topts ).
> create(builder.selectTarget(
> llvm::Triple(llvm::Triple::normalize(platform::target->triple)), "", "",
> mattrs ));
>
> module->setDataLayout( ee->getDataLayout() );
>
> Where `module` is my `llvm::Module` with the gener...
2016 Jun 11
3
SegFault creating a ExecutionEngine
My code to create an ExecutionEngine is segfaulting:
std::string errStr;
llvm::ExecutionEngine * ee = llvm::EngineBuilder(
unique_ptr<llvm::Module>(module) )
.setErrorStr( &errStr ) //line 1618
.setEngineKind( llvm::EngineKind::JIT )
Where module is a `llvm::Module*`. This is code I'm migrating from 3.3
to 3.8. Since the deletion error is happening during
2013 Jul 11
2
[LLVMdev] Script for stressing llc
...mount of shell-fu (not clever "tricks", but actual "how to make a
robust, readable, portable shell script"-fu) in there that you will want to
imitate.
> LLVMHOME=/home/projects/llvm/upstream/llvm-trunk-build/Release+Asserts/bin
> SOPTS="-generate-ppc-fp128"
> TOPTS="-mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7"
Hardcoding these seems a bit "wrong". Are there any reasonable defaults we
can use? ((pwd, empty, host triple) for the three options, respectively,
might be reasonable?).
-- Sean Silva
On Wed, Jul 10, 2013 at 7:14 PM, Hal F...
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...pos-1] != SEP)
filestr[filepos++] = SEP;
strcpy(filestr + filepos, ifilstr);
-ROSH_DEBUG("--'%s'\n", filestr);
+ ROSH_DEBUG("--'%s'\n", filestr);
}
- fd = open(filestr, O_RDONLY);
- if (fd != -1) {
- status = fstat(fd, &fdstat);
+ ROSH_DEBUG("\topt[0]=%d\topt[1]=%d\topt[2]=%d\n", optarr[0], optarr[1],
+ optarr[2]);
+
+ /* Now, the real work */
+ status = stat(filestr, &fdstat);
+ if (status == 0) {
if (S_ISDIR(fdstat.st_mode)) {
ROSH_DEBUG("PATH '%s' is a directory\n", ifilstr);
- d = fdopendir(fd);
- de...
2013 Jul 11
0
[LLVMdev] Script for stressing llc
A few people have requested features; I've implemented them in this updated version (attached). Do you think this is worth putting in the repo somewhere?
-Hal
----- Original Message -----
> Hi,
>
> I wrote a small script in order to stress test llc using test cases
> generated by llvm-stress. When it finds a case where llc seems to
> have crashed, it greps the output for
2013 Jul 11
0
[LLVMdev] Script for stressing llc
...make a robust, readable, portable shell script"-fu)
> in there that you will want to imitate.
Sounds good. I'll look at it.
>
>
>
> > LLVMHOME=/home/projects/llvm/upstream/llvm-trunk-build/Release+Asserts/bin
> > SOPTS="-generate-ppc-fp128"
> > TOPTS="-mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7"
>
>
> Hardcoding these seems a bit "wrong". Are there any reasonable
> defaults we can use? ((pwd, empty, host triple) for the three
> options, respectively, might be reasonable?).
Sure ;) -- I did not mean to...
2017 Oct 03
2
New Pass Manager with flto[=thin] not enabled (??)
...:desc("Run LTO passes using the new pass manager"),
cl::init(false), cl::Hidden);
...
Conf.UseNewPM = UseNewPM;
...
projects/clang/lib/CodeGen/BackendUtil.cpp
...
void clang::EmitBackendOutput( (...) {
...
runThinLTOBackend(CombinedIndex.get(), M, HeaderOpts, CGOpts, TOpts,
LOpts, std::move(OS), CGOpts.SampleProfileFile,
Action);
return;
...
}
static void runThinLTOBackend (...) {
...
Conf.UseNewPM = CGOpts.ExperimentalNewPassManager;
...
}
My team and I were wondering if this is:
intentional,
if so, why do we not have a...
2013 Jul 09
2
[LLVMdev] Script for stressing llc
Hi,
I wrote a small script in order to stress test llc using test cases generated by llvm-stress. When it finds a case where llc seems to have crashed, it greps the output for Assertion, LLVM ERROR, etc., removes things that look like hex numbers and ID numbers, and then checksums the resulting text. In this way, it can automatically categorize different bugs into different subdirectories.
I
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...se(fd2);
-#endif /* DO_DEBUG */
- printf("%s\n", de->d_name);
-#ifdef DO_DEBUG
-// inchar = fgetc(stdin);
-#endif /* DO_DEBUG */
- de = readdir(d);
- }
+// rosh_qualify_filestr(filestr, ifilstr, pwdstr);
+ fdstat.st_mode = 0;
+ fdstat.st_size = 0;
+ ROSH_DEBUG("\topt[0]=%d\topt[1]=%d\topt[2]=%d\n", optarr[0], optarr[1],
+ optarr[2]);
+
+ /* Now, the real work */
+ errno = 0;
+ status = stat(filestr, &fdstat);
+ if (status == 0) {
+ if (S_ISDIR(fdstat.st_mode)) {
+ ROSH_DEBUG("PATH '%s' is a directory\n", filestr...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
Hi,
Could you share how you compile IR and which version of JIT you use (Orc, MCJIT)?
Could it be that you are using interpreter instead of actual JIT?
Cheers,
Alex.
> On 5. May 2018, at 08:04, edA-qa mort-ora-y via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I'm having issues of my compiler, and JIT execution, of LLVM IR being
> rather slow. It's accounting for
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
I'm having issues of my compiler, and JIT execution, of LLVM IR being
rather slow. It's accounting for the vast majority of my full
compilation time. I'm trying to figure out why this is happening, since
it's becoming an impediment. (Note: by slow I mean about 3s of time for
only about 2K of my front-end code, 65K lines of LLVM-IR)
Using valgrind I see some functions which seem
2016 Aug 04
4
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
...un(llvm::Module&) + 342
17 clang-3.9 0x00000000022ac541 llvm::legacy::PassManager::run(llvm::Module&) + 33
18 clang-3.9 0x0000000002adf7c5
19 clang-3.9 0x0000000002adeda6 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) + 150
20 clang-3.9 0x00000000035d622f
21 clang-3.9 0x0000000004259504 c...
2012 Feb 10
1
[LLVMdev] Question about /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
...; at
>>>>> /local/mnt/workspace/slarin/tools/llvm-mainline-
>>>> merged/tools/clang/lib/CodeG
>>>>> en/BackendUtil.cpp:497
>>>>> #11 0x0000000000c94968 in clang::EmitBackendOutput (Diags=...,
>>>> CGOpts=...,
>>>>> TOpts=..., LOpts=..., M=0x3d1a3c0,
>>>> Action=clang::Backend_EmitAssembly,
>>>>> OS=0x3d13660)
>>>>> at
>>>>> /local/mnt/workspace/slarin/tools/llvm-mainline-
>>>> merged/tools/clang/lib/CodeG
>>>>> en/BackendUtil.cpp:...
2016 Jul 27
2
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
Dear all,
In the process of trying to add optimization for better layout of global variables, I have run
up against a roadblock: I don`t seem to be able to sort the contents of a
"SymbolTableListTraits<GlobalVariable>" -- or even swap two elements in that list -- without
causing LLVM to crash.
I have tried writing a comparator class and then using "llvm::iplist<