Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] Is there a "callback optimization"?"
2010 Jun 04
3
[LLVMdev] Is there a "callback optimization"?
When I used -std-compile-opts -disable-inlining, my transform didn't
happen. I think in your test, the inline of UseCallback into foo
automatically made the function pointer into a constant, which turned
it into a direct call that was then inlined.
If UseCallback is too big to inline and uses the callback parameter
inside a loop, this transform is potentially valuable, particularly if
2010 Jun 04
0
[LLVMdev] Is there a "callback optimization"?
Hi Kenneth,
> By that I mean an optimization pass (or a combination of them) that turns:
...
> With that transform in place, lots of inlining becomes possible, and
> direct function calls replace indirect function calls if inlining
> isn't appropriate. If this transform is combined with argpromotion
> and scalarrepl, it can be used for devirtualization of C++ virtual
>
2010 Jun 04
0
[LLVMdev] Is there a "callback optimization"?
It should be relatively simple to write a pass that turns each call
that has constant argument(s) into a call to specialized version of
the callee. To devirtualize C++ calls it needs to be smarter, since
the argument is not a constant, but a pointer to a struct that points
to a constant. However, the trick here is
1) Knowing when to perform specialization. If the call was not inlined
the function
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
Dear all,
my aim is to integrate R in an interactive visualisation software
called Bulk Analyzer developed by VrVis (http://www.vrvis.at).
the code:
SEXP e, tmp;
ParseStatus status;
PROTECT(tmp = mkString("x <- c(1.234,-3.45)"));
PrintValue(tmp);
PROTECT(e = R_ParseVector(tmp, -1, &status, R_NilValue));
PrintValue(e);
UNPROTECT(2);
produces the following output:
[1] "x
2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Hi Geoff,
Nothing in that backtrace leaps out at me. Based on the stack trace and
description my first guess would be a clang misconfiguration rather than a
JIT bug.
How is that clang invocation being made? Is it from inside a callback from
ORC, or is it before you add your module to the JIT?
-- Lang.
On Mon, Aug 3, 2020 at 5:41 AM Geoff Levner <glevner at gmail.com> wrote:
> Here,
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
Hi,
That patch was from an ongoing effort to consolidate OpenMP generation in clang. If memory serves the implementation there is still a little incomplete. It's supposed to use types from OMPConstants rather than ones it defined itself and the methods used to create the functions shouldn't need to be static. However attempting this caused a lot of errors so there might be an underlying
2006 Jun 28
3
[Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]
Thoughts?
-------------- next part --------------
An embedded message was scrubbed...
From: "Romuald du Song" <rdusong at gmail.com>
Subject: [ruby] win32-service : RegisterServiceCtrlHandlerEx
Date: Mon, 26 Jun 2006 00:02:10 +0200
Size: 2587
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060628/8f12e8f1/attachment-0001.mht
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
Thanks, Joseph and Johannes.
I have not merged in anything, I am using the code from the repository
as is. What is this -debug-only option, and to whom would I pass it? I
am running our own JIT application, which uses clang to compile
modules on the fly via clang::CompilerInstance::ExecuteAction().
Working on the assumption that there is a mismatch in the declared
type of an OpenMP runtime
2006 Dec 14
17
Should Event.stopObserving() remove itself from cache?
Just wondering why Event.stopObserving() doesn''t remove the itself from
the Event.obervers array?
Is there a reason for this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
Yep, it happens three times, then crashes afterwards, since I removed
the assert...
arg 0: expected %struct.ident_t*
got %struct.ident_t.21*
value @0 = private unnamed_addr global %struct.ident_t.21 { i32 0, i32
514, i32 0, i32 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]*
@.str, i32 0, i32 0) }, align 8
arg 0: expected %struct.ident_t*
got %struct.ident_t.21*
value @1 = private
2006 Jun 14
4
Extend Draggable
Hello all,
I want to extend a draggable object so it has one more attribute (type
attribute, so I can distinguish different draggable types).
Can anyone tell me how to do it?
I''ve search throught the examples (like
http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I
can''t seem to understand what I should do.
Thanks for you help,
H
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
Yeah, I remember encountering that error before when getting it to pass the libomp test suite. If you have a struct named "ident_t" somewhere the compiler will rename it because of the conflict with the runtime declaration. This should be solved by casting the usage to the function type found in the definition (i.e. bitcasting a struct.ident_t.21 to struct.ident_t) which solved the
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Greetings, Lang and other JITters,
Last week I moved our Orc v2-based app from top-of-tree to the new
11.x branch, and it no longer handles C++ code containing OpenMP
directives correctly.
More specifically, if I JIT compile a function containing OpenMP
parallel/for pragmas, using a release version of LLVM, the code
compiles and seems to work, but if I try to write the module's bitcode
to
2006 Apr 17
0
doing synchronous JSON on rails
So I have found how to generate json in a rails app in the wiki
(http://wiki.rubyonrails.com/rails/pages/HowtoGenerateJSON), what I have
yet to figure out is how to make a synchronous call via json to rails so
that I can block while fetching the information from a user request.
context:
I have used JSON on top of java in the past, and in order to make
synchronous calls I had to do the
2008 Mar 18
0
Major issues with ActiveRecord callbacks in BackgroundRb r324
Hi there
I''ve been running BackgroundRb in production for a few months now. Recently
we added encryption onto some of our ActiveRecord fields by hooking in the
before_save and after_save callbacks, like:
class MyCallback
def initialize(attr_names)
@attr_names = attr_names
end
def before_save(model)
@attr_names.each do |attr_name|
next if
2013 Dec 05
1
playback of opus files using portaudio
I am making a lightweight opus audio player. This is my portaudio callback
function. But i hear a stammering song when i try to play a .opus song
file. Can anybody say what is wrong or provide me link to any code which
can play opus file written in c/c++(light). I tried to see some open
source(vlc opus play) but was unable to follow.
int MyCallback(const void* input,
void* output,
unsigned
2005 Aug 17
1
AGI SCRIPTS USING PERL NEED SOME KIND OF COMPILATION TO WORK WITH *
Hi all,
Help needed:
Does AGI SCRIPTS USING PERL NEED's SOME KIND OF COMPILATION TO WORK WITH
*????
This simple script is not working.
What can I do to make this interact with *?????
#!/usr/bin/perl
#
#
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $tests = 0;
my $pass = 0;
my $fail = 0;
#setup callback
2003 Oct 29
1
AGI question or something
Sorry for asking this question again but
before I blow 100 dollars on a X100P I need to know this info:
So does "SET EXTENSION <new extension>" allow for you to set which
extension the rest of the call will occur over?
So if a call comes into the switch and I could make the AGI script check
the DID or DNIS which is really in the variable agi_dnid?
After that I can do a database
2010 Jul 29
1
Samba server running in AD domain, local users can still access share
Hello all,
I have a Samba 3.5 server running in an AD domain and domain users can
access nonpublic shares with their credentials. Good since this is what I
want.
However accidentally I found that local users (of the server itself) could
also access nonpublic shares with their credentials. Is this a bug or Samba
works this way, accepting both local and domain users? Is there anyway I can
make the