search for: instanciating

Displaying 20 results from an estimated 71 matches for "instanciating".

2019 Sep 13
2
Orc JIT vs. implicit template instanciation in LLVM 8
The short version: When I port our application from LLVM 7 to 8, some JIT-compiled code seems to break the implicit instanciation of C++ templates. That is, when I try to resolve a symbol defined by the code, I get undefined symbols corresponding to methods that are actually function templates. If the code adds explicit template instanciations, the problem goes away. Does anybody have an
2019 Sep 15
2
Orc JIT vs. implicit template instanciation in LLVM 8
Well, I agree the front end must be responsible for (not) instantiating the function templates. However the problem shows up only when JIT compiling, for some reason, and only with LLVM 8. Is there perhaps something else that needs to be done before resolving symbols, in addition to running constructors, to ensure that instantiated function templates are taken into account? Or perhaps there is
2011 Apr 04
1
Best way to instanciate an empty address element in many nested fields_for
...ss has one Company (because it can be linked to other models). In a form I want to display a User, its Company and its company Address, with fields_for. The problem is when my User has a Company, that does *not* have an Address: the part containing the Address is not displayed. I see 2 ways of instanciating my empty adress: 1) In the view: f.fields_for :company, @user.company do |company_form| and company_form.fields_for :address, (address = @user.company.address ? address : Address.new) 2) In the controller @user.company.address = Address.new unless @user.company.address (a variant would be to wr...
2019 Sep 16
2
Orc JIT vs. implicit template instanciation in LLVM 8
I have found the cause of our problems with implicit template instantiation, and it looks to me like a bug in Orc JIT in LLVM 8. (Perhaps Lang could confirm?) We use createLegacyLookupResolver() to create our symbol resolver, passing it a lookup function. Amongst other things, our function calls LegacyRTDyldObjectLinkingLayer::findSymbol() to look up symbols in the JIT. When a module is
2016 Dec 13
0
[PATCH v2 4/15] pmu: instanciate the falcon in PMU device
Have an instance of nvkm_falcon in the PMU structure, ready to be used by other subdevs (i.e. secboot). Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/include/nvkm/subdev/pmu.h | 2 ++ drm/nouveau/nvkm/subdev/pmu/base.c | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drm/nouveau/include/nvkm/subdev/pmu.h
2007 May 28
0
Can I instanciate anEffect and execute it N times later?
Hi there, I saw several Scriptaculous''s Effect examples and all of them makes the Effect instance at the time they want to apply to some page element. I need to make that in two phases, A) create instance of the effects associated to the affected elements and B) at any time execute the effect over the respective element. The executions of the effects will be dictated by events that
2019 Jul 05
0
[PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
Generic framebuffer emulation uses a shadow buffer for framebuffers with dirty() function. If drivers want to use the shadow FB without such a function, they can now set prefer_shadow or prefer_shadow_fbdev in their mode_config structures. The former flag is exported to userspace, the latter flag is fbdev-only. Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de> ---
2019 Sep 16
2
Orc JIT vs. implicit template instanciation in LLVM 8
No, the problem is that Finalized is true. It is set to true at the start of the finalize() method. That's why I added a test causing that line to be executed if the symbol's address is zero... On Tue, 17 Sep 2019, 00:05 Lang Hames, <lhames at gmail.com> wrote: > Hi Geoff, > > Oof. I don't know what this is yet, but I bet it's going to be awful. > Quick apology
2019 Jul 07
0
[PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
Hi Am 07.07.19 um 16:37 schrieb Noralf Tr?nnes: > > > Den 05.07.2019 11.26, skrev Thomas Zimmermann: >> Generic framebuffer emulation uses a shadow buffer for framebuffers with >> dirty() function. If drivers want to use the shadow FB without such a >> function, they can now set prefer_shadow or prefer_shadow_fbdev in their >> mode_config structures. The former
2006 Jul 22
5
Single id column
Is it true that Rails needs a single column to uniquely identify a row in table? If yes, doesn''t this limit the database design and disables the use of Rails for legacy databases? /Fredrik -- Posted via http://www.ruby-forum.com/.
2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that includes a CountryId field which looks up to the CountryId field of my Country table. What I would like to happen is for my Rails application, which contains models for both User and Country, to be able to draw the dropdown list of available countries on the edit page, like it does in all the tutorials. My model classes look
2016 Mar 27
2
PHP5 - Query Parsing Bug
I'm replying to a very old thread (9 years ago) here http://grokbase.com/t/xapian/xapian-discuss/072tprmr6h/php5-query-parsing-bug So not sure if that's going to end up being more or less readable... I have this error : Fatal error: No matching function for overloaded 'new_Query' in /usr/share/php/xapian.php on line 2607 Line 2607 (and surrounding) looks like this and are in
2015 Apr 17
3
[PATCH 1/6] platform: specify the IOMMU physical translation bit
On Thu, Apr 16, 2015 at 8:06 PM, Vince Hsu <vinceh at nvidia.com> wrote: > The IOMMU physical translation bit might vary with different SoCs. So add > a variable to specify this bit for GK20A. > > Signed-off-by: Vince Hsu <vinceh at nvidia.com> > --- > drm/nouveau/nouveau_platform.c | 19 +++++++++++++++++++ > drm/nouveau/nouveau_platform.h | 1 + > 2 files
2019 Jul 07
2
[PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
Den 05.07.2019 11.26, skrev Thomas Zimmermann: > Generic framebuffer emulation uses a shadow buffer for framebuffers with > dirty() function. If drivers want to use the shadow FB without such a > function, they can now set prefer_shadow or prefer_shadow_fbdev in their > mode_config structures. The former flag is exported to userspace, the latter > flag is fbdev-only. > >
2019 Jul 07
2
[PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
Den 05.07.2019 11.26, skrev Thomas Zimmermann: > Generic framebuffer emulation uses a shadow buffer for framebuffers with > dirty() function. If drivers want to use the shadow FB without such a > function, they can now set prefer_shadow or prefer_shadow_fbdev in their > mode_config structures. The former flag is exported to userspace, the latter > flag is fbdev-only. > >
2006 May 23
0
where to initialize a variable in an AJAX based application
Hello All, I am getting confused with best practices. I posted a topic earlier but realized how confusing it was. Thus I will do my best to be as clear as possible. I am a bit confused on best practice for instanciate a variable that will be used accross several methods within the same controller. I need this because of AJAX, here is a description of what I intend to do: (all this in done
2003 Feb 10
1
Memory allocation, IBM-AIX and R-1.6.2 - addendum
...sorry for the spam, but answers I get to my previous question suggest that I should specify that the machine has a *lot* of memory and should be able to the instanciation... Anybody with an IBM mainframe, R-1.6.2 and large matrices ? L.
2004 Nov 17
1
bug in methods' 'initialize' (or the functions called in turn) ?
Hi, I experience a very strange behaviour when trying to instanciate a S4 class. A call like 'r <- new("MyClass", foo="bar")' returns apparently cleanly, but in fact a subsequent use of 'r' results in a 'r does not exist error message'. After a bit of hunting with 'debug', it seems that the bug is in 'initialize' (or one of the
2007 Oct 30
1
include a class file for access to an object
hello all Im new to ruby and im just trying to see how i can instanciate an object that is defined in a class file like myclass.rb then in another file like start.rb i just call it like so newObj = myclass.new do i need the include statement at the top? like include myclass.rb or mayby the require statement? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Aug 24
1
[0.10.0] Random error when big import
In a rails script (something in the "script" dir with the good require) I added many document (around 4000) to an index globaly instanciate (and build if not present) in config/environment.rb. I ran 3 three times my script (I deleted my index every time before), and only the third was successful. That was STRANGE ! :) These are the errors :