as I wish, I am doing kernel now!! :)
Kernel Display guy == me!!
안드로이드, OpenMP, OpenCL, Graphic, 컴퓨터 게임, Software Engineer, Ski, San Jose, 그리고 내가 사랑 하는 모든것들 ;) Feel free to add me, and ask me;)
Thursday, April 18, 2013
Thursday, February 21, 2013
if you have Nexus 4
https://wiki.ubuntu.com/Touch/Install?action=show&redirect=TouchInstallProcess
This is guide for how to install Ubuntu OS.
Ubuntu OS on your phone!
This is guide for how to install Ubuntu OS.
Ubuntu OS on your phone!
Wednesday, February 20, 2013
OpenCL in Android
I have worked on OpenCL in Android for two monthes.
there are several things, you need to care about.
after compile, if your program stops at clCreateProgramWithSource, then your Kernel code has problem to build. you need to fix it.
several things I realized are,
1. You need to initialize array in Kernel like
int array[10]; // == illegal.
int array[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // == legal.
but I would not use array in Kernel code. cause local memory issue.
2. There should not be unused arguments or value.
3. ..( I will write down more, when I remember lolz)
and also if your program dies at clRead,, something, which means during running kernel code,
then think about GPU or CPU hanging, OpenCL use almost most of processors, so when other program try to use GPU or CPU, Hanging will be happened, so
"YOUR KERNEL CODE SHOULD BE SIMPLE AS HELL"
I have tried some read_imagef func 2500 times ( It was for loops 10 * 10 * 5 * 5) it... of course die.
cause it will run 2500 times for each pixel.
well those are I have learned so far.. :)
there are several things, you need to care about.
after compile, if your program stops at clCreateProgramWithSource, then your Kernel code has problem to build. you need to fix it.
several things I realized are,
1. You need to initialize array in Kernel like
int array[10]; // == illegal.
int array[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // == legal.
but I would not use array in Kernel code. cause local memory issue.
2. There should not be unused arguments or value.
3. ..( I will write down more, when I remember lolz)
and also if your program dies at clRead,, something, which means during running kernel code,
then think about GPU or CPU hanging, OpenCL use almost most of processors, so when other program try to use GPU or CPU, Hanging will be happened, so
"YOUR KERNEL CODE SHOULD BE SIMPLE AS HELL"
I have tried some read_imagef func 2500 times ( It was for loops 10 * 10 * 5 * 5) it... of course die.
cause it will run 2500 times for each pixel.
well those are I have learned so far.. :)
Monday, January 21, 2013
function in .bashrc
There are bunch of thing you can do with bash.
This one is easiest and I use it more than a lot..
Which is Function in bash!
mygrep() { grep -RHni --exclude=.git --exclude=svn "$@" . 2> /dev/null; }
This one is easiest and I use it more than a lot..
Which is Function in bash!
mygrep() { grep -RHni --exclude=.git --exclude=svn "$@" . 2> /dev/null; }
So this is basically using grep with your argument.
when you trying to find "hello" in your folder
you type "grep -RHn hello . 2> /dev/null" something like this.
with mygrep function
you can only type "mygrep hello" well that's it.
cause mygrep redirect to mygrep function in bash :)
Wednesday, December 12, 2012
Friday, April 27, 2012
Thursday, April 26, 2012
Subscribe to:
Posts (Atom)