Displaying 20 results from an estimated 1000 matches similar to: "SERIALIZE command"
2010 Jun 13
1
[PATCHv2] kmmio/mmiotrace: fix double free of kmmio_fault_pages
After every iounmap mmiotrace has to free kmmio_fault_pages, but it
can't do it directly, so it defers freeing by RCU.
It usually works, but when mmiotraced code calls ioremap-iounmap
multiple times without sleeping between (so RCU won't kick in and
start freeing) it can be given the same virtual address, so at
every iounmap mmiotrace will schedule the same pages for release.
Obviously it
2010 Mar 11
5
Interrupt setting
Hi all,
I am a Nouveau user on FC12 with GeForce 9500GT.
I have read the Nouveau wiki documents, and they imply that there are ways
to set GPU to send interrupts to CPU, when we want to be notified for
something, e.g., when DMA transfer or GPU operation is completed.
By default, when I run an OpenGL demo application from Gallium3D, the driver
gets no interrupts from GPU in nouveau_irq_handler(),
2006 Jun 21
3
sort matrix by sum of columns
Hi all,
I would like to know how can I sort the cols of a matrix by the sum of
their elements.
a <- matrix(as.integer(rnorm(25,4,2)),10,5)
colnames(a) = c("alfa","bravo","charlie","delta","echo")
I guess I should use colSums, and then rearrange the matrix somehow
according to the result.
My idea is to display a "sorted" barplot:
2011 Sep 14
3
[Bug 40890] New: OpenCL: Implement a GPGPU runtime following the CAL specification
https://bugs.freedesktop.org/show_bug.cgi?id=40890
Summary: OpenCL: Implement a GPGPU runtime following the CAL
specification
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo:
2006 Jun 09
2
barplot dataframes w/ varying dimensions
Hi all,
I would like to do a barplot of a dataframe like this one:
alfa beta gamma delta
qwert 56.5 58.5 56.5 58.5
asdfg 73.0 73.0 43.0 73.0
zxcvb 63.0 63.0 43.0 63.0
yuiop 63.0 63.0 43.0 63.0
with the labels of the rows and columns.
I would like to have something that works for dataframes with varying
dimensions, and so far I haven't found any way to do it.
2010 Apr 09
1
SERIALIZE command
Hi all,
I am trying to use the 0x110 SERIALIZE (or 0x108 WAIT_FOR_IDLE?) command to
barrier the PGRAPH commands.
Unfortunately, I do not find any examples either in nouveau or gallium.
If it plays just a barrier, I guess it should work by something like (in
case of m2mf):
BEGIN_RING(chan, m2mf, 0x110, 1);
OUT_RING(chan, 1);
Otherwise, it may actually play to serialize some commands, then I
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all,
I'm trying to process all files with a certain extension "*.ext" in a
directory like this:
> R --slave --args /my/dir < dir_plot.r
where I then I want to do something like:
myarg <- commandArgs()
inputdir <- myarg[length(myarg)]
print(inputdir)
"for file with extension "*.ext in inputdir"
do
data = process.data(file)
outfile =
2013 Jul 07
1
[LLVMdev] trying to compile llvm+clang on CentOS 5
I am trying to have llvm and clang on a centOS 5 without root permissions.
I tried to do it downloading llvm and clang src packages and trying the
ususal configure, make and make install steps as such:
wget http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz
wget http://llvm.org/releases/3.3/cfe-3.3.src.tar.gz
tar xzf llvm-3.3.src.tar.gz && cd llvm-3.3.src/tools/ && tar xzf
2005 Dec 13
8
superimpose density line over hist
Hi all,
I'm trying to superimpose a rchisq density line over a histogram with
something like:
hist(alnlength)
lines(density(rchisq(length(alnlength), 4)),col="red")
But the rchisq line won't appear anywhere,
Anyone knows what I am missing here?
Thanks in advance,
Albert.
2006 Apr 28
2
entries that match a regexp
Hi all,
I am trying to filter the element of a df that start with "TF", like
this:
alfa =
c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234")
beta =
2017 May 08
2
[OpenCL][AMDGPU] Using AMDGPU generated kernel code for OpenCL
Hello everyone
I was wondering, what the correct way of using an AMDGPU generated kernel
code for OpenCL was. I am trying to provide Polly's GPGPU Code generation
with the ability to run on different GPU devices, such as AMD GPUs.
For NVIDIA, I simply retrieve a pre-compiled PTX string from the NVPTX
backend and pass that to OpenCL's 'clCreateProgramWithBinary' function.
However,
2010 Apr 24
2
left-to-right series of box and whisker plots from a csv file
Hi,
I've got a csv file with scores like this:
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,38,40,20,40,26,40,30,40,5,5,13,12,40,40,3,33,29,23,2,24,9,15,4,21,16,5,26,8,8,18
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,40,40,30,40,40,37,34,40,36,13,40,13,40,5,40,8,29,5,15,34,5,22,14,20
2008 Feb 28
1
calculate sd for each row on some columns of a dataframe
Hi,
I've got a dataframe like this:
df = data.frame(a=rnorm(100,1),b=rnorm(100,10),c=rnorm(100,100),d=rnorm(100,-100))
and I want to calculate sd1 for (a,b,c) for each entry, and sd2 for
(b,c,d) for each entry.
I don't seem to find the answer using aggregate or apply,
How can I do this?
Thanks in advance,
Cheers,
Albert.
2010 Jul 06
1
hide ends of line in a density plot
Hi,
(I googled for this answer but didn't find anything)
I am using density plot and I want to trim the ends of the line. eg:
i = rnorm(100,100,2)
j = subset(i,i<102 & i>98)
summary(j)
plot(density(j))
I only want the line to go from 98 to 102. How can I limit the line
(and the axis)
to the values I specify?
Cheers,
Albert.
2009 Apr 17
1
matching subvectors in vector sets
Hi,
I've got a list of ~20000 elements that look like this:
[1]
"A00096:A00096:A00096:A00096:A02178:A02178:A07776"
[2]
"A00046:A00076:A01101:A04146:A05671:A07169"
[3]
"A00038:A00932:A02185:A02370:A02818:A02818:A02818:A02818:A04732:A07142:A07142"
[4]
"A00096:A01352:A01352:A02023:A05001:A05001:A07776"
[5]
2006 Dec 23
1
complex barplot enquiry
Hello,
I was hoping for some advice to resolve a problem I am having trouble with.
The data consists of a series of pre and post variables, in a dataframe
called 'offend'. I am interested in graphically depicting the pre & post
values for a factor variable called 'decision' which has 4 values : nusm,
fit, unsound & unfit. An example of a pre and post variable is:
2012 Apr 02
6
[LLVMdev] GSoC 2012 Proposal: Automatic GPGPU code generation for llvm
Hi all,
I am a phd student from Huazhong University of Sci&Tech, China. The
following is my GSoC 2012 proposal.
Comments are welcome!
*Title: Automatic GPGPU Code Generation for LLVM*
*Abstract*
Very often, manually developing an GPGPU application is a time-consuming,
complex, error-prone and iterative process. In this project, I propose to
build an automatic GPGPU code generation framework
2012 Apr 03
0
[LLVMdev] GSoC 2012 Proposal: Automatic GPGPU code generation for llvm
Hi Justin,
the non-translatable IR with GPU code replaced by appropriate CUDA Driver
> API calls.
One of CUDA driver apis (cuLaunch) need a ptx asm string as its input. So
if I want to provide a one-touch solution and don't introduce any changes
to tools outside polly, I must prepare the ptx string before I can generate
the correct non-translatable IR part.
As your suggestion, It may
2017 Jun 22
2
Legal names for Functions and other Identifiers
Thanks for the heads up Philip !
I did come across a strange case where LLVM allowed "%" to be a part of a
function's name. This was in the context of my patch
https://reviews.llvm.org/D33985, where I prefix the name of the source
function and the Scop ( A special kind of Region that Polly can optimize,
the name of the Scop is the name of the Region ) to the name of the PTX
kernel
2012 Dec 03
2
[LLVMdev] [polly] removing cloog dependence in the testsuite
Tobias Grosser wrote:
> On 12/03/2012 06:07 PM, Sebastian Pop wrote:
> >Tobias Grosser wrote:
> >>Regarding patch one and three: We already have the directory
> >>test/CodeGen and test/IslCodeGen. I propose to just leave the CLooG test
> >>cases in test/CodeGen, but to run them conditionally.
> >
> >I only know how to disable the test of a full