Displaying 6 results from an estimated 6 matches for "h_a".
Did you mean:
_a
2012 Feb 23
0
[LLVMdev] Clang support for CUDA
Hi,
I am trying to convert a simple CUDA program to LLVM IR using clang 3.0.
The program is as follows,
#include<stdio.h>
#nclude<clang/test/SemaCUDA/cuda.h>
__global__ void kernfunc(int *a)
{
*a=threadIdx.x+blockIdx.x*blockDim.x;
}
int main()
{
int *h_a,*d_a,n;
n=sizeof(int);
h_a=(int*)malloc(n);
*h_a=5;
cudaMalloc((void*)&d_a,n);
cudaMemcpy(d_a,h_a,n,cudaMemcpyHostToDevice);
kernelfunc<<<1,1>>>(d_a);
cudaMemcpy(h_a,d_a,n,cudaMemcpyDeviceToHost);
printf("%d",*h_a);
return 0;
}
What additional header files shoul...
2006 May 21
3
normality testing with nortest
I don't know from the nortest package, but it should ***always***
be the case that you test hypotheses
H_0: The data have a normal distribution.
vs.
H_a: The data do not have a normal distribution.
So if you get a p-value < 0.05 you can say that
***there is evidence***
(at the 0.05 significance level) that the data are not from a
normal distribution.
If the nortest package does it differently (and I don't really see
how it possibly co...
2003 Oct 05
2
Jonckheere-Terpstra test
Hello,
can anybody here explain what a Jonckheere-Terpstra test is and whether it is
implemented in R? I just know it's a non-parametric test, otherwise I've no
clue about it ;-( . Are there alternatives to this test?
thanks for help,
Arne
2001 May 08
1
ks.test in ctest package (PR#934)
1. There is, I believe, some redundant code in the calculation of the
test statistic in ks.test in the package ctest.
Lines 34-37 of the code read
x <- y(sort(x), ...) - (0:(n - 1))/n
STATISTIC <- switch(alternative, two.sided = max(abs(c(x,
x - 1/n))), greater = max(c(x, x - 1/n)), less = -min(c(x,
x - 1/n)))
Lines 35-37 could read
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...1L^z*$NrrI@tGe!^c+!`uumi#U)>w!v?@RQQe$hJ{V{ToiC-G+Jp$R?7I
z?4y8Z(S+f9eLy8bYr^z^URQ0WVuVOii=gV(CvcDztFDRquS%dD6Em}fvIi@M&65G&
z4+TypBH3lLa8YvgyAAqe_FuN2Z;62UkRD`fl-`IUkWtZna0~KGQlvA|-C%?B-RLw6
zh*Ay~+mZOptf+CuSVqLKZI>0k$nn4RVG5TSVf|FiHu+wpEFhz*DmFA>q}g!lHh#zD
z*<3lQVsi0oS-s{?D`%2}H_A(`YGjBKriG!o=THI}dwMb>*<mu-FaDf0_<;dU>MmQT
z*y<}m(;&K>HGTAzb)J$6J*QG6<0&(XJtN$%3Rsl7OgdiecAfZ5Zv#V50z~H**2iP?
zZpf8jqZG@JJSvrENX1>u;PSK^270nwCitFyJZDoh{{|GD8mhGia`NGb{k~rT`4Eh<
zva&3?_Mi;HCGtw7x^zvw3I^q?blHTwLT!-T?ztfZ#MpQ=CqHdHP^KQ5fX+~M(@4<0
ziftZ|Z56RqupY...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking