search for: nodecount

Displaying 4 results from an estimated 4 matches for "nodecount".

Did you mean: node_count
2017 Aug 11
2
[PATCH] nv50/ir: Initialize all members of GCRA (trivial)
...index 9d70ec3c9c..e4f38c8e46 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp @@ -1146,6 +1146,9 @@ GCRA::GCRA(Function *fn, SpillCodeInserter& spill) : regs(fn->getProgram()->getTarget()), spill(spill) { + nodeCount = 0; + nodes = NULL; + prog = func->getProgram(); // initialize relative degrees array - i takes away from j -- 2.14.0
2017 Dec 30
1
[PATCH v2] nv50/ir: Initialize all members of GCRA (trivial)
...v50_ir_ra.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp @@ -1144,7 +1144,9 @@ GCRA::RIG_Node::addRegPreference(RIG_Node *node) GCRA::GCRA(Function *fn, SpillCodeInserter& spill) : func(fn), regs(fn->getProgram()->getTarget()), - spill(spill) + spill(spill), + nodeCount(0), + nodes(NULL) { prog = func->getProgram(); -- 2.15.1
2017 Dec 29
0
[PATCH] nv50/ir: Initialize all members of GCRA (trivial)
It looks like this patch was never merged. You could initialise “nodeCount” and “nodes” directly in the member initialisation list. With that changed, this patch is Reviewed-by: Pierre Moreau <pierre.morrow at free.fr> On 2017-08-12 — 01:45, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> > --- >...
2002 Apr 25
1
understanding and resolving seg faults
...ice on how to debug this. I have allocated memory with calloc and deltaI[0][0] should be OK, but apparently not. thanks for your help, For those that don't have structure of rpart drilled into their brain: deltaI is declared in "rpmatrix.c": void rpmatrix(struct node *me, Sint *nodecount, Sint *splitcount, Sint *catcount, Sint *numcat, double **dsplit, Sint **isplit, Sint **csplit, double **dnode, Sint **inode, double **deltaI, int id) rpmatrix is called by "s_to_rp.c" where ddeltaI is a pointer from an...