본문 바로가기 메뉴 바로가기

HAMA 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

HAMA 블로그

검색하기 폼
  • 전체 (687)
    • 주인장 (9)
    • 잡동사니 (2)
    • 소프트웨어 사색 (81)
    • Rust (0)
    • tech shard (비공개) (0)
    • 그래픽스 (3)
    • 데브옵스 (5)
    • 데이터 가시화 (d3.js , Plotly, Gr.. (18)
    • 디자인패턴 (10)
    • 무들 (moodle) (17)
    • 보안 (6)
    • 뱅킹 & PG (5)
    • 블록체인 (55)
    • 알고리즘,자료구조 (4)
    • 서버 &컨테이너 & 도커등 (2)
    • 오픈소스, 미들웨어 (9)
    • 임베디드 (4)
    • 인터프리터 (4)
    • 하이브리드앱 (9)
    • 아이폰 (IOS) (10)
    • 안드로이드 (14)
    • 운영체제 (1)
    • 아마존 AWS & 클라우드 (5)
    • 테스트 (1)
    • 통계 & 머신러닝 & 딥러닝 (39)
    • Angular & React (3)
    • Akka (27)
    • CUDA (1)
    • Flask (5)
    • Go (17)
    • HAMA (3)
    • Hadoop (7)
    • Haskell (1)
    • IoT (32)
    • IoT 데이터 분석 (NILM) (10)
    • IoT 전기자동차 (4)
    • IDE & 기타 툴(tool) (3)
    • Javascript (12)
    • Java (31)
    • Kotlin (10)
    • Math (1)
    • Netty, Java IO (8)
    • Network (7)
    • NoSQL (7)
    • Node.js (1)
    • OpenMP,PPL (4)
    • OpenCV, Halcon (1)
    • OpenGL , WebGL (0)
    • PlayFramework2 (35)
    • Amp,CUDA,OpenCL,TensorFlow (1)
    • Python (37)
    • RDBMS (PostgreSQL) (11)
    • Scala (51)
    • Spark (5)
    • Spring (9)
    • UI , UX 디자인 (6)
    • VTK (1)
    • Vert.x (13)
    • WAS & 웹서버 (3)
    • Zookeeper (2)
    • C++ (비공개) (4)
      • 문법 (1)
      • TR1 (0)
      • Algorithm (0)
      • container (0)
      • Date Time (0)
      • Exception (0)
      • FileSystem (0)
      • Flyweight (0)
      • function (0)
      • Functor & binder (0)
      • Geometry (0)
      • Graph (0)
      • IO Stream (0)
      • InterProcess (0)
      • Interator (0)
      • Lamda (0)
      • Localization & UTF-8 (0)
      • log (0)
      • Math, numeric (0)
      • memory&pool (0)
      • meta class (0)
      • metwork & ASIO (0)
      • PropertyTree (0)
      • Regex (0)
      • Signal (0)
      • Singleton_template (0)
      • smartptr (0)
      • speed (0)
      • spirit (0)
      • string (0)
      • system (0)
      • thread & concurrent (0)
      • tokenizer (0)
      • util (0)
      • Timer (0)
    • Meeting (0)
    • OpusM (0)
  • 방명록

전체 글 (688)
volumeRender.cpp

/* * Copyright 1993-2012 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related documentation outside the terms of the EULA * is strictly prohibited. * */ /* Volume..

CUDA 2014. 8. 27. 22:43
OP_TEST_REDUCTION.cpp

/*#include #include #include #include int num_steps=500000000; #define OPENMPint main(){int i;double x, step, sum = 0.0;step = 1.0/(double) num_steps; boost::timer t; #ifdef NOOPENMPfor (i=0; i

OpenMP,PPL 2014. 8. 27. 22:42
FOR_reduction.cpp

/*#include #include #include #include const int num_steps=100; int main(){boost::timer t; int sum = 0, i = 0;int Data[num_steps] = {0}; for(i =0 ; i < num_steps; i++){Data[i] = i + 1;}#pragma omp parallel for reduction(+:sum)for(i = 0 ; i < num_steps; i++){sum += Data[i];} printf(" 총합 sum = %d \n", sum); double t2_insert = t.elapsed();printf("time: %.8lf \n", t2_insert); return EXIT_SUCCESS;}*/

OpenMP,PPL 2014. 8. 27. 22:42
FOR_default.cpp

/*#include #include #include #include int num_steps=100; int main(){boost::timer t; int a = 0;printf("main area / a = %d \n", a);#pragma omp parallel default(none) private(a) // default(shared) {if( omp_get_thread_num() == 0) a = 1;else a = 2; printf("%d thread area / a = %d \n", omp_get_thread_num(), a);} printf("main area / a = %d \n", a);double t2_insert = t.elapsed();printf("time: %.8lf \n",..

OpenMP,PPL 2014. 8. 27. 22:41
CRITICAL_SECTION.cpp

/*#include #include #include #include const int num_steps=1000; int main(){boost::timer t; int sum = 0, i = 0; float * Data = new float[num_steps]; for(i =0 ; i < num_steps; i++){Data[i] = i;}float max = 0;#pragma omp parallel for for(i = 0 ; i < num_steps; i++){#pragma omp critical (MAXVALUE){if(max < Data[i])max = Data[i];}} printf(" max = %f \n", max); double t2_insert = t.elapsed();printf("t..

OpenMP,PPL 2014. 8. 27. 22:41
산에 오를때는 항상 똑같습니다.

산에 오를때는 항상 똑같습니다.얼굴을 땅에 대고 한발씩 힘들게 걷다보면 보이는것은.. 돌맹이 , 낙화 , 흙... 하지만 꾸준히 걸어서 마침내 꼭대기에 도착하면 내가 오른 산이 왜 이런 이름을 갖게됬는지 알게되지요..월악산, 계룡산, 지리산..

주인장 2014. 8. 27. 21:39
std::queue 의 front() 사용시 empty 면 ?

C++ 경우는 정의되지 않은 행동을 합니다. (제작자에 따라서 다름) 따라서 항상 검사를 미리하고 사용해야합니다. // queue::empty#include // std::cout #include // std::queue int main () { std::queue myqueue; myqueue.front(); //

C++ (비공개)/문법 2014. 8. 27. 20:45
스마트 포인터 종류 분석 - C++98, 11, TR1, boost -

안전한 C++ 라이프를 위한 스마트포인터에 대해 정리를 해봤습니다. (2012년 현재) 마지막 한줌의 속도라도 짜내야하는 그런 부분 제외하고는 웬만하면 C++ 말고 다른것을 사용하라고 조언드리고 싶고, Rust 의 빠른 발전을 기대합니다. 1. Scoped_ptr (boost)0. 복사불가 단일 소유자 1. 한마디로 scoped_ptr 는 복사할 수 없는 auto_ptr 이다. 2. 젤 가볍습니다. 3. 제한적이다. (한 함수 내에서만 동적할당해서 쓰다가 함수를 끝낼 때는 삭제해야 하는 임시 객체를 처리할 때도 유용하게 쓰일 수 있습니다) 4. 이 스마트포인터를 포함하고있는 클래스도 복사불가입니다. 5. "자원 획득은 초기화 이다." 만을 위해 존재한다. 레퍼런스 카운팅이 없고, 소유권공유,이전문제도 없..

C++ (비공개) 2014. 8. 10. 13:52
이전 1 ··· 83 84 85 86 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • hyperledger fabric
  • 스칼라 동시성
  • 파이썬 동시성
  • 안드로이드 웹뷰
  • Play2 로 웹 개발
  • Play2
  • Hyperledger fabric gossip protocol
  • CORDA
  • 파이썬 데이터분석
  • akka 강좌
  • 블록체인
  • 스칼라 강좌
  • 하이브리드앱
  • 파이썬 강좌
  • Actor
  • Golang
  • 파이썬 머신러닝
  • Akka
  • 엔터프라이즈 블록체인
  • 스위프트
  • 그라파나
  • 스칼라
  • 주키퍼
  • play2 강좌
  • Adapter 패턴
  • 플레이프레임워크
  • 이더리움
  • 파이썬
  • play 강좌
  • 하이퍼레저 패브릭
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바