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

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)
  • 방명록

OpenMP,PPL (4)
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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 주키퍼
  • Golang
  • 플레이프레임워크
  • Hyperledger fabric gossip protocol
  • 스위프트
  • Actor
  • 파이썬 머신러닝
  • 이더리움
  • 파이썬
  • CORDA
  • 하이브리드앱
  • akka 강좌
  • 블록체인
  • 스칼라 강좌
  • 그라파나
  • Play2
  • play 강좌
  • Adapter 패턴
  • 스칼라 동시성
  • play2 강좌
  • 파이썬 동시성
  • 엔터프라이즈 블록체인
  • 스칼라
  • 하이퍼레저 패브릭
  • 안드로이드 웹뷰
  • 파이썬 강좌
  • Play2 로 웹 개발
  • 파이썬 데이터분석
  • Akka
  • hyperledger fabric
more
«   2025/05   »
일 월 화 수 목 금 토
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

티스토리툴바