search for: cstuff

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

Did you mean: stuff
2009 Sep 04
1
calling Lapack and BLAS routines from C
...ine and I am interfacing R and C with the .C function. I am trying to call LAPACK and BLAS routines, but am running into a problem where, while I am able to run the BLAS routines, I cannot run the LAPACK routines. I compile my .c file (at end of email) in the following way: [mhitczen at jlogin2 ~/Cstuff]$ R CMD SHLIB testmore.c gcc -std=gnu99 -I/home/mhitczen/R-2.9.0/include -I/usr/local/include -fpic -g -O2 -c testmore.c -o testmore.o gcc -std=gnu99 -shared -L/usr/local/lib -o testmore.so testmore.o However, I get the following error in R: > dyn.load("testmore.so") Error in d...
2018 Jun 19
6
Naming clash: -DCLS=n and CLS in code
...ts it > the way you're suggesting, and Clang is not that weird library. This is from a famous article series titled "What every programmer should know about memory": gcc -DCLS=$(getconf LEVEL1_DCACHE_LINESIZE) ... https://lwn.net/Articles/255364/ http://mosermichael.github.io/cstuff/all/blog/2015/12/11/wepskn.html https://www.dcl.hpi.uni-potsdam.de/teaching/numasem/slides/NUMASem_Matrix_multiplication.pdf You can find more examples by searching for "DCLS getconf LEVEL1_DCACHE_LINESIZE".
2018 Jun 19
3
Naming clash: -DCLS=n and CLS in code
...that weird library. >> >> >> This is from a famous article series titled "What every programmer should know about memory": >> gcc -DCLS=$(getconf LEVEL1_DCACHE_LINESIZE) ... >> >> https://lwn.net/Articles/255364/ >> http://mosermichael.github.io/cstuff/all/blog/2015/12/11/wepskn.html >> https://www.dcl.hpi.uni-potsdam.de/teaching/numasem/slides/NUMASem_Matrix_multiplication.pdf >> >> You can find more examples by searching for "DCLS getconf LEVEL1_DCACHE_LINESIZE". >> >> >> >> __________________...
2018 Jun 19
2
Naming clash: -DCLS=n and CLS in code
Tim Northover via llvm-dev wrote on 06/19/2018 07:55 PM: > On Tue, 19 Jun 2018 at 18:22, U.Mutlu via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> I think such "reserved" names like CLS that can be passed to the compiler(s), >> should be avoided as identifiers for naming variables, constants, enum >> members, macros etc. > > Why are you passing