• Title/Summary/Keyword: C-언어 컴퓨터 프로그램

Search Result 83, Processing Time 0.016 seconds

Fast and Efficient Implementation of Neural Networks using CUDA and OpenMP (CUDA와 OPenMP를 이용한 빠르고 효율적인 신경망 구현)

  • Park, An-Jin;Jang, Hong-Hoon;Jung, Kee-Chul
    • Journal of KIISE:Software and Applications
    • /
    • v.36 no.4
    • /
    • pp.253-260
    • /
    • 2009
  • Many algorithms for computer vision and pattern recognition have recently been implemented on GPU (graphic processing unit) for faster computational times. However, the implementation has two problems. First, the programmer should master the fundamentals of the graphics shading languages that require the prior knowledge on computer graphics. Second, in a job that needs much cooperation between CPU and GPU, which is usual in image processing and pattern recognition contrary to the graphic area, CPU should generate raw feature data for GPU processing as much as possible to effectively utilize GPU performance. This paper proposes more quick and efficient implementation of neural networks on both GPU and multi-core CPU. We use CUDA (compute unified device architecture) that can be easily programmed due to its simple C language-like style instead of GPU to solve the first problem. Moreover, OpenMP (Open Multi-Processing) is used to concurrently process multiple data with single instruction on multi-core CPU, which results in effectively utilizing the memories of GPU. In the experiments, we implemented neural networks-based text extraction system using the proposed architecture, and the computational times showed about 15 times faster than implementation on only GPU without OpenMP.

Analysis of Heat Environment in Nursery Pig Behavior (자돈의 행동에 미치는 열환경 분석)

  • Sang, J.I.;Choi, H.L.;Jeon, J.H.;Jeon, B.S.;Kang, H.S.;Lee, E.S.;Park, K.H.
    • Journal of Animal Environmental Science
    • /
    • v.15 no.2
    • /
    • pp.131-138
    • /
    • 2009
  • This study was conducted to find ways to control environment with the difference between body temperature and background temperature based on swine activity, and to apply to the environment control system of swine barns based on the findings. Following are the results. 1. Swine activity related to background temperature was achieved as color images and swine activity status was categorized into cold, comfortable, and hot periods with visualization system (thermal image system). 2. Thermal image system consisted of an infrared CCD camera, an image processing board - DIF (TH3100), an main computer (400Hz, 128M, 586 Pentium model) with C++ program installed. 3. Thermal image system categorizing temperatures into cold, comfortable, and hot was applicable to the environment control system of swine barns 4. Feed intake was higher in cold temperature, and finishing weight and weight gain per day in cold temperature were lower than others (p<0.05).

  • PDF

An Integrated Framework Environment for Automatic Simulation of Geant4 : Geant4Editor (Geant4시뮬레이션 자동화를 위한 통합 프레임워크 환경 개발 : Geant4Editor)

  • Shin, Sung-Sik;Kim, A-Mi;Kim, Seung-Wan;Song, Ju-Whan;Gwun, Ou-Bong
    • Journal of the Institute of Electronics Engineers of Korea CI
    • /
    • v.45 no.4
    • /
    • pp.12-18
    • /
    • 2008
  • Researches on particle physics have benefited our everyday life in many aspects. They have tested the safety of the objects we use everyday, conducted experiments to examine harmful environments to man, and treated diseases. Despite the usefulness of particle physics in a range of fields, however, it's difficult to conduct researches and experiments directly. But the advancements in the computer industry have allowed for experiments of particle physics in virtual simulations. One of the foremost simulation libraries for particle physics that have been researched actively these days, Geant4 has been put to diverse uses in particle physics. This study designed GUI so that physicists, who were not good at programming, could use a simulation library faster, more accurately, and more conveniently. It also developed the Geant4Editor, a simulation automation framework. The advantages of the Geant4Editor include automatic generations of essential classes in a simulation using Geant4 libraries and real-time reflection of user demands in a simulation. It also allows for efficient management of resources(user-created data) through the Data Manager.