게임/Strike Suit Zero2014. 1. 19. 23:23
험블번들에서 꽂혀서 질러버린 게임
로봇으로 변신하는 전투기라는 남자의 로망을 잘 버무려낸 게임! 이라고 하고 싶지만..
아직 조작이 쉽지 않아서 그러지 못하는게 안습 ㅠㅠ

뜨억 ㅋㅋㅋ CPU 클럭이 3.6THz 야 ㅋㅋㅋ


로고가 폼난다?


생각도 못하고 막 넘기다 보니 Mission 1 종료. 아마도 Tutorial 일듯?
아무튼 미션 1 화면은 못보고 Mission 2 부터 보게된... OTL


미션 3


미션 3에서 부터 스웜을 쓸수 있는데 다연장 유도 미사일이다.!!
남자의 로망!!! 이지만 1 타켓 멀티 로켓이라는게... ㅠㅠ


미션 진행중에 주인공을 오라가라 하더니 이상한 전투기에 태워버린다.


전투기에서 STRIKE MODE로 변신을 합니다!


스웜 날리면 멋져!!!!


미션 4


미션 5


STRIKE MODE 운용이 익숙하지 않아서
미션 5를 넘기지 못하고 있다 ㅠㅠ 

'게임 > Strike Suit Zero' 카테고리의 다른 글

Strike Suit Zero 끝!  (0) 2014.03.09
Strike Suit Zero 스샷 모음  (0) 2014.03.08
Strike Suit Zero 챕터  (0) 2014.03.08
Posted by 구차니
개소리 왈왈2014. 1. 19. 09:25

지들이 내방해서 싹싹빌어도 시원찮을 판국에
개인정보 유출된 판국에 "본인 확인용 개인정보 수집/이용 동의" 라니 ㅋㅋㅋ
우리는 당당하다 동의하지 않으면 확인불가임 이러는건 웬지 기분 드럽네?



안털린게 없네? ㅋㅋㅋㅋㅋㅋ 시발 ㅋㅋㅋㅋㅋ


'개소리 왈왈' 카테고리의 다른 글

아.. 피곤해..  (0) 2014.01.24
백수.. 5주.. 차?  (0) 2014.01.23
아 힘드러 ㅠㅠ  (0) 2014.01.16
아이매직 BW-1430 블루투스/USB 겸용 풀 사이즈 키보드  (0) 2014.01.06
새해 복 많이 받으세요!  (4) 2014.01.01
Posted by 구차니
요즘 자격증을 안딴지 오래되서 몇개 한번 노려봐야겠는데..
정보통신 보다는 정보관리 기술사를 노리는게 맞을거 같긴한데..
이래저래 머리가 아프네 ㅠㅠ

[링크 : http://www.q-net.or.kr/crf005.do?id=crf00505&gSite=Q&gId=]  정보보안기사
[링크 : http://www.q-net.or.kr/crf005.do?id=crf00505&gSite=Q&gId=&tabGbn=1&jmCd=1121] 임베디드 기사
[링크 : http://www.q-net.or.kr/crf005.do?id=crf00505&gSite=Q&gId=&jmCd=0601&tabGbn=1] 정보관리 기술사
[링크 : http://www.q-net.or.kr/crf005.do?id=crf00505&gSite=Q&gId=&jmCd=0621&tabGbn=1] 정보통신 기술사
[링크 : http://www.q-net.or.kr/crf005.do?id=crf00505&gSite=Q&gId=&jmCd=0622&tabGbn=1] 컴퓨터시스템응용 기술사

[링크 : https://eatc.co.kr/new_qualification/qualification_outline.asp] ATC 2급
Posted by 구차니
프로그램 사용/autocad2014. 1. 17. 22:45
오토캐드는 기본적으로 명령어로 제어가 가능하고
아이콘이 생긴 신규버전이라고 하더라도 되도록이면 명령어로 쓰는게 좋다고 한다.
(그러면 역으로 구버전도 사용이 가능하니)


학원에서는 2010 버전을 쓰는데 이넘은.. 파일로 제공하더니만.
2011은 autodesk 사의 홈페이지로 바로 연결이 된다. -_-

[링크 : http://docs.autodesk.com/ACD/2011/ENU/landing.html]
  [링크 : http://docs.autodesk.com/ACD/2011/ENU/filesACR/WSfacf1429558a55de6d0beb1006696e53b-619b.htm] 명령어
  [링크 : http://docs.autodesk.com/ACD/2011/ENU/pdfs/acad_acr.pdf] 명령어 pdf 버전
  [링크 : http://docs.autodesk.com/ACD/2011/ENU/filesACR/WSfacf1429558a55de6d0beb1006696e53b-6076.htm] 변수

'프로그램 사용 > autocad' 카테고리의 다른 글

원 채우기  (0) 2018.05.01
캐드 명령어 이것저것  (0) 2018.01.09
autocad 명령어  (0) 2018.01.08
autolisp  (0) 2014.03.17
Autocad 학원 수강 3일차  (0) 2014.01.17
Posted by 구차니
프로그램 사용/autocad2014. 1. 17. 22:36
끙끙대면서 거의 40분에 걸쳐 그린 도면 ㅠㅠ
이래서 ATC 2급 딸 수 있으려나? ㅠㅠ


'프로그램 사용 > autocad' 카테고리의 다른 글

원 채우기  (0) 2018.05.01
캐드 명령어 이것저것  (0) 2018.01.09
autocad 명령어  (0) 2018.01.08
autolisp  (0) 2014.03.17
AutoCad 2011 도움말 - 명령어  (0) 2014.01.17
Posted by 구차니
Programming/openCL & CUDA2014. 1. 17. 19:41
어제 했던 소스에서 대충 openmp 적용해봄
2014/01/16 - [Programming/openCL / CUDA] - cuda 1차원 데이터, 2차원 처리 예제

CUDA Runtime API - Host - Extra C++ Options 에서 /openmp 를 추가하면 된다.

[링크 : https://devtalk.nvidia.com/.../vs2010-cuda4rc2-howto-compile-openmp-host-code...]

물론 #inclued <omp.h>를 추가하지 않으면
컴파일 시에는 문제가 없으나 실행시에 이런 문제가 발생한다.

[링크 : http://blog.naver.com/changfull7/70110120004]

openmp 적용
cpu Time : 0.048000
gpu Time : 0.001000 

openmp 미적용
cpu Time : 0.131000
gpu Time : 0.001000  


#include < stdio.h >
#include < stdlib.h >
#include < time.h >
#include < omp.h > #include "cuda_runtime.h" #define BLOCK_WID 128 #define THREAD_WID 32 #define ARRAY_SIZE (THREAD_WID * THREAD_WID * BLOCK_WID * BLOCK_WID) __global__ void kernel_test(int *a, int *b, int *c) { int idx = threadIdx.x +blockIdx.x * blockDim.x + (gridDim.x * blockDim.x) * (blockIdx.y * blockDim.y + threadIdx.y); c[idx] = a[idx] + b[idx]; } void main() { clock_t start_time, end_time; int *a, *b, *c, *res; int *dev_a,*dev_b,*dev_c; int idx = 0; dim3 block(BLOCK_WID,BLOCK_WID); dim3 thread(THREAD_WID,THREAD_WID); a = (int *)malloc(ARRAY_SIZE * sizeof(int)); b = (int *)malloc(ARRAY_SIZE * sizeof(int)); c = (int *)malloc(ARRAY_SIZE * sizeof(int)); res = (int *)malloc(ARRAY_SIZE * sizeof(int)); // initialize srand (time(NULL));
#pragma omp parallel for for(idx = 0;idx < ARRAY_SIZE ; idx++) { a[idx] = rand() & 0xFFFF; b[idx] = rand() & 0xFFFF; c[idx] = 0; } start_time = clock();
#pragma omp parallel for for(idx = 0;idx < ARRAY_SIZE ; idx++) { res[idx] = a[idx] + b[idx]; } end_time = clock(); printf("cpu Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC); cudaMalloc(&dev_a, ARRAY_SIZE * sizeof(int)); cudaMalloc(&dev_b, ARRAY_SIZE * sizeof(int)); cudaMalloc(&dev_c, ARRAY_SIZE * sizeof(int)); cudaMemcpy(dev_a, a, ARRAY_SIZE * sizeof(int), cudaMemcpyHostToDevice); cudaMemcpy(dev_b, b, ARRAY_SIZE * sizeof(int), cudaMemcpyHostToDevice); start_time = clock(); kernel_test<<<block,thread>>>(dev_a,dev_b,dev_c); end_time = clock(); printf("gpu Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC); cudaMemcpy(c, dev_c, ARRAY_SIZE * sizeof(int), cudaMemcpyDeviceToHost); for(idx = 0;idx < ARRAY_SIZE ; idx++) { if(res[idx] != c[idx]) { printf("%5d a:%5d b:%5d c:%5d", idx, a[idx], b[idx], c[idx]); if(res[idx] != c[idx]) printf(" != "); else printf(" == "); printf("r:%5d\n",res[idx]); break; } } cudaFree(dev_a); cudaFree(dev_b); cudaFree(dev_c); free(a); free(b); free(c); free(res); }

'Programming > openCL & CUDA' 카테고리의 다른 글

cuda 6.0 rc  (0) 2014.02.15
cuda + openmp 프로젝트 생성은....  (0) 2014.01.17
cuda 1차원 데이터, 2차원 처리 예제  (4) 2014.01.16
CUDA 쓰레드 계산  (0) 2014.01.15
visual studio 2008 nsight 실행..된거 맞나?  (0) 2014.01.15
Posted by 구차니
Programming/openCL & CUDA2014. 1. 17. 11:44
사용자 지정 빌드규칙을 추가하면 된다는데 빌드는 아직 안해봤고


문제는 cuda 프로젝트로 생성시


프로젝트에 디버깅 아래 C/C++이 존재하지 않는다.


아무튼.. C/C++ 의 언어에 OpenMP가 있으므로
CUDA와 OpenMP를 동시에 사용하려면 일반프로젝트 생성 + CUDA 사용자 룰 추가 이런식으로 해야 할 듯 하다.


결론 : 일단은.. openMP + CUDA는 생각하지 말자.. 귀차나 ㅠㅠ

'Programming > openCL & CUDA' 카테고리의 다른 글

cuda 6.0 rc  (0) 2014.02.15
cuda + openmp 적용 예제  (0) 2014.01.17
cuda 1차원 데이터, 2차원 처리 예제  (4) 2014.01.16
CUDA 쓰레드 계산  (0) 2014.01.15
visual studio 2008 nsight 실행..된거 맞나?  (0) 2014.01.15
Posted by 구차니
다른건 그리 안끌리는데 Strike Suit Zero 라는거에 삘 꽃혀서 질러버렸다 ㅠㅠ
Surgeon Simulator 2013는 이미 있는데 해보지 않았고.. 지인에게나 줘버려야지 ㅋㅋㅋ



'게임 > 오리진&스팀&유플레이' 카테고리의 다른 글

MDK 할인!  (0) 2014.03.19
몰라 걍 질러  (0) 2014.03.10
간만에 게임 목록  (0) 2013.12.29
스팀 연말 할인 시작!!  (0) 2013.12.22
리눅스 스팀 설치!  (0) 2013.12.17
Posted by 구차니
개소리 왈왈2014. 1. 16. 23:19
아침에는 수영
오후에는 학원 
그리고 간간히 고용센터 방문


왜이리 힘들고 피곤할까 ㅠㅠ
백수인게 원래 더 바쁘고 힘들다지만 ㅠㅠ 
Posted by 구차니
Programming/openCL & CUDA2014. 1. 16. 00:03
Phenum2 945(3.0Ghz) / GTX650

cpu Time : 0.131000
gpu Time : 0.001000

일단.. 싱글 코어로 돌려서 130msec 정도 
GPU로 돌려서 동일 연산이 1msec 미만으로 걸린다.. ㄷㄷㄷ

일단 32*32*128*128*4 로
총 1024개의 쓰레드를 동시에 돌리고
16,384 개의 블럭으로 연산을 한다.
67,108,864 byte 대략 64MB + 64MB = 64MB 용량의 연산을 하는 소스이다.

#include < stdio.h >
#include < stdlib.h >
#include < time.h >

#include "cuda_runtime.h"

#define BLOCK_WID	128
#define THREAD_WID	32
#define ARRAY_SIZE	 (THREAD_WID * THREAD_WID * BLOCK_WID * BLOCK_WID)

__global__ void kernel_test(int *a, int *b, int *c)
{
	int idx = threadIdx.x +blockIdx.x * blockDim.x + (gridDim.x * blockDim.x) * (blockIdx.y * blockDim.y + threadIdx.y);
	c[idx] = a[idx] + b[idx];
}

void main()
{
	clock_t start_time, end_time;
	int *a, *b, *c, *res;
	int *dev_a,*dev_b,*dev_c;
	unsigned int idx = 0;
	dim3 block(BLOCK_WID,BLOCK_WID);
	dim3 thread(THREAD_WID,THREAD_WID);

	a = (int *)malloc(ARRAY_SIZE * sizeof(int));
	b = (int *)malloc(ARRAY_SIZE * sizeof(int));
	c = (int *)malloc(ARRAY_SIZE * sizeof(int));
	res = (int *)malloc(ARRAY_SIZE * sizeof(int));

	// initialize
	srand (time(NULL));
	for(idx = 0;idx < ARRAY_SIZE ; idx++)
	{
		a[idx] = rand() & 0xFFFF;
		b[idx] = rand() & 0xFFFF;
		c[idx] = 0;
	}

	start_time = clock();
	for(idx = 0;idx < ARRAY_SIZE ; idx++)
	{
		res[idx] = a[idx] + b[idx];
	}
	end_time = clock();
	printf("cpu Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC); 

	cudaMalloc(&dev_a, ARRAY_SIZE * sizeof(int));
	cudaMalloc(&dev_b, ARRAY_SIZE * sizeof(int));
	cudaMalloc(&dev_c, ARRAY_SIZE * sizeof(int));

	cudaMemcpy(dev_a, a, ARRAY_SIZE * sizeof(int), cudaMemcpyHostToDevice);
	cudaMemcpy(dev_b, b, ARRAY_SIZE * sizeof(int), cudaMemcpyHostToDevice);

	start_time = clock();
	kernel_test<<<block,thread>>>(dev_a,dev_b,dev_c);
	end_time = clock();
	printf("gpu Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC); 

	cudaMemcpy(c, dev_c, ARRAY_SIZE * sizeof(int), cudaMemcpyDeviceToHost);

	for(idx = 0;idx < ARRAY_SIZE ; idx++)
	{
		if(res[idx] != c[idx])
		{
			printf("%5d a:%5d b:%5d c:%5d", idx, a[idx], b[idx], c[idx]);
			if(res[idx] != c[idx])
					printf(" != ");
			else	printf(" == ");
			printf("r:%5d\n",res[idx]);
			break;
		}
	}

	cudaFree(dev_a);
	cudaFree(dev_b);
	cudaFree(dev_c);

	free(a);
	free(b);
	free(c);
	free(res);
}

'Programming > openCL & CUDA' 카테고리의 다른 글

cuda + openmp 적용 예제  (0) 2014.01.17
cuda + openmp 프로젝트 생성은....  (0) 2014.01.17
CUDA 쓰레드 계산  (0) 2014.01.15
visual studio 2008 nsight 실행..된거 맞나?  (0) 2014.01.15
nsight 설치... -_-  (0) 2014.01.15
Posted by 구차니