CudaWaveField

Size: px
Start display at page:

Download "CudaWaveField"

Transcription

1 CudaWaveField

2 2 CudaWaveField Rel Rel 1.0 CudaWaveField ( cwfl) / cwfl cwfl Note Acrobat Reader

3 3 I CudaWaveField CudaWaveField Windows x NVIDIA GPU CUDA WaveFieldLib MS Visual Studio.NET (Visual Studio 2003) MS Visual Studio MS Visual Studio Intel C++ Compiler CudaWaveFieldLib FFT

4 ExactAsmProp void StartCWFL(iconst char* fname = NULL,int msglevel = 1,bool device- Property = true,int devicenumber = 0) CUDA int GetCUDADeviceCount(void) cudadeviceprop GetCUDADeviceInformation(int deviceid) void CudaMallocHost(wfl::Complex* plpointer,long nx,long ny) CudaWaveField CudaWaveField(void) CudaWaveField(long nxy) CudaWaveField(long nx, long ny) CudaWaveField(long nx, long ny, double pxy) CudaWaveField(long nx, long ny, double px, double py) CudaWaveField(long nx,long ny,double px,double py, double wavelength) CudaWaveField(const wfl::wavefield& wf) CudaWaveField(const wfl::fieldparam& param) CudaWaveField(const CudaWaveField& temp) CudaWaveField(void) void Init(float2* d = NULL) Dispose(void) void Clear(void) void ThreadsOptimization(void) void ThreadsOptimization(long nx,long ny) void CopyParam(const wfl::fieldparam& param) void CopyParam(const CudaWaveField& param) void CopyParam(const wfl::wavefield& param) void CopyParamAll(const wfl::fieldparam& param) void CopyParamAll(const CudaWaveField& param) void CopyParamAll(const wfl::wavefield& param)

5 5 void CopyWinAreaData(CudaWaveField& dest) CudaWaveField& Embed(int nxy) CudaWaveField& Embed(int nx,int ny) CudaWaveField& Extract(int nxy) CudaWaveField& Extract(int nx,int ny) void AdjustNumPixel(void) CudaWaveField& SetRect(double wx,double wy,float amp = 1.0) CudaWaveField& SetGaussian(double r,double nn = 2.0,double amp = 1.0) 28 CudaWaveField& SetPlaneWave(wfl::Vector v,wfl::phase phs = 0.0) CudaWaveField& SetSphericalWave(wfl::Point sphwcenter, double amp = 1.0) CudaWaveField& MultiplyPlaneWave(Vector v,wfl::phase phs = 0.0) CudaWaveField& MultiplyPlaneWave(double CosA,double CosB, wfl::phase phs = 0.0) CudaWaveField& AddSphericalWave(wfl::Point p) CudaWaveField& AddSphericalWave(wfl::Point p, wfl::phase phs,double a) CudaWaveField& SetRandomPhase(void) CudaWaveField& SetQuadraticPhase(double f) float2 GetDataPointer(void) const size t GetDataSize(void) const void SetParam(wfl::FieldParam& param) void SetBlocks(int x,int y,int z) dim3 GetBlocks(void) void SetThreads(int x,int y,int z) dim3 GetThreads(void) FFT void FakeFft(void) void Fft(int s, bool beforeshift = true,bool aftershift = true) void Fft(int s,cudafftplan cuplan,bool beforeshift = true,bool aftershift = true) void SwitchFs (void) CudaWaveField& RawScaledFft(double s,double t)

6 6 CudaWaveField& Rotate(const CudaWaveField& source, wfl::rmatrix& crmat, wfl::sfrequency c) CudaWaveField& RotateFs(wfl::Rmatrix& crmat,cudawavefield& cpfb,double2 offset) void AsmProp(double d) void AsmPropFs(double d) void RawAsmProp(double d) void RawAsmPropFs(double d) CudaWaveField& ExactAsmProp(double d) CudaWaveField& ShiftedAsmProp(const CudaWaveField& source,int precision = 1) CudaWaveField& FourierProp(double f) CudaWaveField& BackFourierProp(double f) CudaWaveField& ShiftedFresnelProp(const CudaWaveField& source) CudaWaveField& ShiftedFresnelProp(CudaWaveField& source, CudaShiftedFresnelPropDesc& csfpd) CudaWaveField& ShiftedFresnelPropAdd(CudaWaveField& source, CudaShiftedFresnelPropDesc& csfpd) CudaWaveField& ShiftedFresnelPropEx(CudaWaveField& source) CudaWaveField& ShiftedFresnelPropAddEx(CudaWaveField& source) void PaintTriangle(const wfl::pointarray& p, float2 amp,bool memset) PaintPolygonShape(const wfl::pointarray& p,float2 amp) double MaxReduction(void) double2 MaxMinRedution(void) void Normalize(double amp = 1.0) void AddFrom(CudaWaveField& target)

7 7 CudaWaveField& operator=(const CudaWaveField& cwf) CudaWaveField& operator+(const CudaWaveField& cwf) CudaWaveField& operator+=(const CudaWaveField& cwf) CudaWaveField& operator-(const CudaWaveField& cwf) CudaWaveField& operator-=(const CudaWaveField& cwf) CudaWaveField& operator (const CudaWaveField& cwf) CudaWaveField& operator =(const CudaWaveField& cwf) CudaWaveField& operator/(const CudaWaveField& cwf) CudaWaveField& operator/=(const CudaWaveField& cwf) CudaWaveField& operator = (double val) CudaWaveField& opeartor = (const wfl::complexdouble& val) CudaWaveField& operator/= (double val) CudaWaveField& operator/= (const wfl::complexdouble& val) CudaWaveField& operator+= (const wfl::complexdouble& val) CudaWaveField& operator-=(const wfl::complexdouble& val) void operator>> (wfl::wavefield& target) CudaWaveField& operator<< (const wfl::wavefield& wf)

8

9 I CudaWaveField

10

11 CudaWaveField NVIDIA GPU WaveField Windows x64 64bit 32bit Windows NVIDIA GPU Compute Capability 2.0 GPU 1.3 GPU CUDA NVIDIA GPU CUDA CUDA CUDA CUDA CUDA Toolkit GPU Computing SDK WaveFieldLib3 WaveFieldLib3(WFL3) WFL WFL3 CUDA WFL CUDA

12 WaveField MS Visual Studio.NET (Visual Studio 2003) MS Visual Studio 2005 MS Visual Studio 2008 IntelliSense 64 CPU (64 Visual Studio ) Intel C++ Compiler WaveField < >=c:\wavefieldtools < >\include\ < >\include\cwfl\ *.h WaveField < >\lib\ cwfl.lib WaveField PATH (.exe ) < >\bin\

13 1.1 CudaWaveField 13 cwfl.dll

14

15 15 2 CudaWaveFieldLib 2.1 CudaWaveField WaveField GPU WaveField WaveField CudaWaveField WaveField WaveField 2.2 CudaWaveField Example # include <cwfl.h> using namespace wfl ; using namespace cwfl ; int main ( void ) { StartCWFL (); /* */ } return 0; cwfl.h CudaWaveField cwfl.h cwfl.h wfl3.h wfl3.h

16 16 2 CudaWaveFieldLib CudaWaveField cwfl cwfl CudaWaveField StartCWFL() Note StartCWFL() wfl::start() StartCWFL() Start() cwfl.lib ( wfl3.lib ) PATH (*.EXE) cwfl.dll ( wfl3.dll ) 2.3 FFT 1[cm]. Example FFT (: ExRectApertureFFT.cpp) # include <cwfl.h> using namespace std ; using namespace wfl ; using namespace cwfl ; int main ( void ) { // C W F L StartCWFL ("./ FFT / FFT_test. log ",1,true,0); // EventTimer timer ; timer. Start (); // 512 x [ mm] G P U CudaWaveField cwf (512, 512, 1e -3); // 1[ cm] x 1[ cm] cwf. SetRect (0.01,0.01); // cwf. Fft ( -1); // cwf. Normalize (); // timer. Stop (); Printf (" GPU Elapsed time = %f[ms ]\n",timer. GetTime ()); // G P U C P U WaveField wf; cwf >> wf; // b m p wf. SaveAsBmp ("./ FFT /[ GPU ] RectFFT_AMPLITUDE. bmp ",AMPLITUDE, COLOR );

17 } return 0; WaveField WaveField CudaWaveField SetRect() 1cm 1cm Fft() Normalize(). wfl::wavefield.. GPU CPU GPU! CudaWaveField Example (: ExShortProp.cpp) # include <cwfl.h> using namespace std ; using namespace wfl ; using namespace cwfl ; int main ( void ) { // C W F L StartCWFL ("./ AsmProp / AsmProp. log ",1,true,0); //

18 18 2 CudaWaveFieldLib CudaWaveField cwf (256,256,2e -6); // cwf. SetGaussian (0.1e -3,50); // 1 m m cwf. AsmProp (1e -3); // cwf. Normalize (); // WaveField saver ; cwf >> saver ; } // saver. SaveAsBmp ("./ AsmProp / Diffraction. bmp ",AMPLITUDE ); return 0; SetGaussian() AsmProp() 2.2! "$#%'&)(+*-,./ mm 10mm 30mm Example (: ExLongProp.cpp) # include <cwfl.h> using namespace std ; using namespace wfl ; using namespace cwfl ;

19 int main ( void ) { StartCWFL ("./ AsmProp / AsmProp2. log ",1,true,0); CudaWaveField aperture (256,256,2e -6); aperture. SetGaussian (0.1e -3,50); for ( int i = 1; i <= 3; i ++) { CudaWaveField dest ( aperture ); // W a v e F i e l d double d = 10e -3 * i; dest. AsmProp (d); char filename [128]; sprintf ( filename," Diffraction -%d. bmp ",( int )(d / 1e -3)); dest. Normalize (); } WaveField saver ; dest >> saver ; saver. SaveAsBmp ( filename, AMPLITUDE ); } return 0; 2.3 AsmProp() ExactAsmProp() 2.3 AsmProp() (a)10mm (b)20mm (3)30mm ExactAsmProp AsmProp() ExactAsmProp() 2.4 ExactAsmProp() CudaWaveField. Example (: ExImageFormationByLens.cpp)

20 20 2 CudaWaveFieldLib 2.4 ExactAsmProp() # include <cwfl.h> using namespace std ; using namespace wfl ; using namespace cwfl ; int main ( void ) { // /////////// /////////// StartCWFL (); // FieldParam :: SetDefault (128,128,2e -6); // double R = 1e -3; // WaveField saver ; // W F // /////// ///////// WaveField temp ; // W F // b m p temp. LoadBmp ("./ EyeSimulation / lena128x128. bmp ",AMPLITUDE ); CudaWaveField source = temp ; // source. Embed (3); //8 6 4 // //////// ////////// CudaWaveField lens ; // C W F lens. Embed (3); // 64 lens. SetGaussian (R,100); // lens. SetQuadraticPhase (10e -3); // 10 m m lens >> saver ; // CWF -> W F saver. SaveAsWf ("./ EyeSimulation / lens.wf"); // W F // ////////// -> //////// source. AsmProp (20e -3); // (20 mm) // ////////// ////////////////// lens *= source ; // source. Dispose (); // s o u r c e // ///////// -> /////// lens. AsmProp (20e -3); // (20 mm) // ///////// //////////////// CudaWaveField & screen = lens ; // screen. Extract (3); // 64 ( ) screen. Normalize (); // // ///////// /////////// screen >> saver ; // G P U C P U saver. SaveAsBmp ("./ EyeSimulation / image. bmp ",AMPLITUDE ); // } return 0;

21 FieldParam::SetDefault() CudaWaveField WaveField

22

23 WaveField void StartCWFL(iconst char* fname = NULL,int msglevel = 1,bool deviceproperty = true,int devicenumber = 0) CudaWaveField fname msglevel deviceproperty GPU devicenumber (GPU) ID Note CudaWaveFieldLib CUDA int GetCUDADeviceCount(void) GPU PC GPU(CUDA ) Note

24 24 3 PC CUDA CWFL cudadeviceprop GetCUDADeviceInformation(int deviceid) cudadeviceprop deviceid ( ComputeCapability ) cudadeviceprop CUDA4.0 void CudaMallocHost(wfl::Complex* plpointer,long nx,long ny) nx * ny * sizeof(complex) CUDA CPU plpointer CudaWaveField Init() Example // ( C P U ) float2 * host_memory ; // G P U CudaMallocHost ( static_cast < wfl :: Complex * >( host_memory ),1024,1024); // C W F CudaWaveField cwf (1024,1024); // C W F cwf. Init ( host_memory ); // C W F

25 3.2 CudaWaveField CudaWaveField CudaWaveField(void) CudaWaveField(long nxy) CudaWaveField(long nx, long ny) CudaWaveField(long nx, long ny, double pxy) CudaWaveField(long nx, long ny, double px, double py) CudaWaveField(long nx,long ny,double px,double py, double wavelength) CudaWaveField(const wfl::wavefield& wf) CudaWaveField(const wfl::fieldparam& param) 1 2 Note x y nxy 3 x nx y nx x y p [ :m] 4 x y px py 5 wavelength [ :m] 6 wfl::wavefield CPU GPU 7 wfl::fieldparam () N x = N y = 256 P x = P y = 1µm λ = 632.8nm wfl::fieldparam::setdefault*** Example // CudaWaveField cwf1 ; //512 x CudaWaveField cwf2 (512); // 1024 x x y 1 0 u m CudaWaveField cwf3 (1024, 1024, 10e -6);

26 26 3 // 2048 x x 5 u m y 1 0 u m CudaWaveField cwf3 (2048, 2048, 5e -6, 10e -6); // W a v e F i e l d C W F wfl :: WaveField wf1 (1024,1024); CudaWaveField cwf4 ( wf1 ); // wfl :: F i e l d P a r a m C W F wfl :: FieldParam param (4096,4096); CudaWaveField cwf5 ( param ); CudaWaveField(const CudaWaveField& temp) ~CudaWaveField(void) GPU void Init(float2* d = NULL) CudaWaveField GPU d Dispose(void) GPU (Init() NULL ) void Clear(void) 0

27 3.2 CudaWaveField 27 void ThreadsOptimization(void) void ThreadsOptimization(long nx,long ny) CudaWaveField 1 CudaWaveField nx,ny 2 nx,ny void CopyParam(const wfl::fieldparam& param) void CopyParam(const CudaWaveField& param) void CopyParam(const wfl::wavefield& param) nx,ny void CopyParamAll(const wfl::fieldparam& param) void CopyParamAll(const CudaWaveField& param) void CopyParamAll(const wfl::wavefield& param) nx,ny void CopyWinAreaData(CudaWaveField& dest) dest Window dest Window

28 CudaWaveField& Embed(int nxy) CudaWaveField& Embed(int nx,int ny) 1 2 nxy 2 2 nx 2 ny 0 CudaWaveField& Extract(int nxy) CudaWaveField& Extract(int nx,int ny) / nxy / nx 2 1 / ny void AdjustNumPixel(void) CudaWaveField& SetRect(double wx,double wy,float amp = 1.0) wx wy amp CudaWaveField& SetGaussian(double r,double nn = 2.0,double amp = 1.0) r nn amp CudaWaveField& SetPlaneWave(wfl::Vector v,wfl::phase phs = 0.0) v phs

29 3.2 CudaWaveField 29 CudaWaveField& SetSphericalWave(wfl::Point sphwcenter, double amp = 1.0) sphwcenter amp (CudaWaveField::GetOrigin() ) CudaWaveField& MultiplyPlaneWave(Vector v,wfl::phase phs = 0.0) CudaWaveField& MultiplyPlaneWave(double CosA,double CosB, wfl::phase phs = 0.0) 1 v phs 2 x CosA y CosB phs CudaWaveField& AddSphericalWave(wfl::Point p) CudaWaveField& AddSphericalWave(wfl::Point p, wfl::phase phs,double a) p 2 phs a p CudaWaveField& SetRandomPhase(void) CudaWaveField& SetQuadraticPhase(double f) f 2

30 float2 GetDataPointer(void) const float2 CudaWaveField GPU CPU size t GetDataSize(void) const size t size t [byte] void SetParam(wfl::FieldParam& param) wfl::fieldparam void SetBlocks(int x,int y,int z) dim3 GetBlocks(void) dim3 CUDA dim3 void SetThreads(int x,int y,int z) dim3 GetThreads(void) dim3 CUDA dim3

31 3.2 CudaWaveField FFT void FakeFft(void) void Fft(int s, bool beforeshift = true,bool aftershift = true) void Fft(int s,cudafftplan cuplan,bool beforeshift = true,bool aftershift = true) 1 s(-1 1 ) beforeshift,aftershift ( ) 2 CudaFFTPlan FFT CudaFFTPlan void SwitchFs (void) CudaWaveField& RawScaledFft(double s,double t) ScaledFFT CudaWaveField& Rotate(const CudaWaveField& source, wfl::rmatrix& crmat, wfl::sfrequency c) source wfl::rmatrix crmat wfl::sfrequency c NULL c

32 32 3 CudaWaveField& RotateFs(wfl::Rmatrix& crmat,cudawavefield& cpfb,double2 offset) void AsmProp(double d) d[m] void AsmPropFs(double d) d[m] void RawAsmProp(double d) d[m] void RawAsmPropFs(double d) d[m] CudaWaveField& ExactAsmProp(double d) d[m] 4 CudaWaveField& ShiftedAsmProp(const CudaWaveField& source,int precision = 1) source source

33 3.2 CudaWaveField 33 CudaWaveField& FourierProp(double f) f. CudaWaveField& BackFourierProp(double f) f CudaWaveField& ShiftedFresnelProp(const CudaWaveField& source) CudaWaveField& ShiftedFresnelProp(CudaWaveField& source, CudaShiftedFresnelPropDesc& csfpd) 1 source 2 CudaShiftedFresnelPropDesc CudaWaveField& ShiftedFresnelPropAdd(CudaWaveField& source, CudaShiftedFresnelPropDesc& csfpd) source. CudaWaveField& ShiftedFresnelPropEx(CudaWaveField& source) source CudaWaveField& ShiftedFresnelPropAddEx(CudaWaveField& source) source.

34 void PaintTriangle(const wfl::pointarray& p, float2 amp,bool memset) p amp memset PaintPolygonShape(const wfl::pointarray& p,float2 amp) p amp double MaxReduction(void) double double2 MaxMinRedution(void) double2 double2 CUDA double.x double.y void Normalize(double amp = 1.0) amp void AddFrom(CudaWaveField& target) target

35 3.2 CudaWaveField CudaWaveField& operator=(const CudaWaveField& cwf) CudaWaveField& operator+(const CudaWaveField& cwf) CudaWaveField& operator+=(const CudaWaveField& cwf) CudaWaveField& operator-(const CudaWaveField& cwf) CudaWaveField& operator-=(const CudaWaveField& cwf) CudaWaveField& operator (const CudaWaveField& cwf) CudaWaveField& operator =(const CudaWaveField& cwf) CudaWaveField& operator/(const CudaWaveField& cwf) CudaWaveField& operator/=(const CudaWaveField& cwf) CWF CudaWaveField& operator = (double val) CudaWaveField& opeartor = (const wfl::complexdouble& val) CudaWaveField& operator/= (double val) CudaWaveField& operator/= (const wfl::complexdouble& val) CudaWaveField& operator+= (const wfl::complexdouble& val) CudaWaveField& operator-=(const wfl::complexdouble& val) double Real Imaginary val wfl::complexdouble void operator>> (wfl::wavefield& target) CudaWaveField& operator<< (const wfl::wavefield& wf) 1 CudaWaveField WaveField 2 WaveField CudaWaveField CudaWaveField CudaWaveField HDD CudaWaveField. Example CudaWaveField cwf1 ;

36 36 3 WaveField temp ; // c w f 1 cwf1 >> temp ; temp. SaveAsWf (" cwf1.wf"); //(ex. ) temp. LoadBmp (" lena. bmp ",AMPLITUDE ); cwf1 << temp ; Note WaveField CPU CudaWaveField GPU PCI-E PCI-E ( )

Wave Field Library (WFL) Polygon Source Library (PSL)

Wave Field Library (WFL) Polygon Source Library (PSL) Wave Field Library (WFL) Polygon Source Library (PSL) 2019 6 5 2 WaveField Rel 3.5.1 PolygonSource Rel 1.9.0 Rel 2.13 WaveField ( WFL) PolygonSource ( PSL) / WFL/PSL WFL/PSL http://www.laser.ee.kansai-u.ac.jp/wavefieldtools

More information

2 WaveField Rel PolygonSource Rel Rel WaveField ( wfl) PolygonSource ( psl) / wfl/psl wfl/psl

2 WaveField Rel PolygonSource Rel Rel WaveField ( wfl) PolygonSource ( psl) / wfl/psl wfl/psl WaveFieldTools 2010 11 5 2 WaveField Rel 2.81.0 PolygonSource Rel 0.85.0 Rel 1.8.0 WaveField ( wfl) PolygonSource ( psl) / wfl/psl wfl/psl http://www.laser.ee.kansai-u.ac.jp/wavefieldtools Acrobat Reader

More information

FFTSS Library Version 3.0 User's Guide

FFTSS Library Version 3.0 User's Guide : 19 10 31 FFTSS 3.0 Copyright (C) 2002-2007 The Scalable Software Infrastructure Project, (CREST),,. http://www.ssisc.org/ Contents 1 4 2 (DFT) 4 3 4 3.1 UNIX............................................

More information

07-二村幸孝・出口大輔.indd

07-二村幸孝・出口大輔.indd GPU Graphics Processing Units HPC High Performance Computing GPU GPGPU General-Purpose computation on GPU CPU GPU GPU *1 Intel Quad-Core Xeon E5472 3.0 GHz 2 6 MB L2 cache 1600 MHz FSB 80 GFlops 1 nvidia

More information

2008chom.pdf

2008chom.pdf CHomP Pawe l Pilarczyk 1 CHomP Computational Homology Project [3] OS Windows Mac Unix Linux [3] CHomP [3] 2 3 CHomP CHomP 4 5 C++ [1] 2 CHomP 1 2 K 1 = { A 1 A 2 A 3, A 1 A 2, A 2 A 3, A 1 A 3, A 3 A 4,

More information

新版 明解C++入門編

新版 明解C++入門編 第 1 章画面 出力 入力 C++ C++ C++ C++ C++ C++ C++ C++ #include using C++ C++ C++ main C++ C++ C++ int double char C++ C++ C++ string C++ C++ C++ 21 1-1 C++ 歴史 C++ C++ 歴史 CC with classes Fig.1-1 C C++ Simula 67

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) double

More information

解きながら学ぶC++入門編

解きながら学ぶC++入門編 第 1 章 画面 出力 入力 2 問題 1-1 C++ List 1-1p.4 C++ // cout

More information

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved (Version: 2013/5/16) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

DiMP Users Manual Yuichi Tazaki

DiMP Users Manual Yuichi Tazaki DiMP Users Manual Yuichi Tazaki 3 1 5 2 7 2.1............................. 7 2.2........................... 7 3 DiMP 9 3.1............................... 9 3.2........................... 10 3.3...................................

More information

WinHPC ppt

WinHPC ppt MPI.NET C# 2 2009 1 20 MPI.NET MPI.NET C# MPI.NET C# MPI MPI.NET 1 1 MPI.NET C# Hello World MPI.NET.NET Framework.NET C# API C# Microsoft.NET java.net (Visual Basic.NET Visual C++) C# class Helloworld

More information

( CUDA CUDA CUDA CUDA ( NVIDIA CUDA I

(    CUDA CUDA CUDA CUDA (  NVIDIA CUDA I GPGPU (II) GPGPU CUDA 1 GPGPU CUDA(CUDA Unified Device Architecture) CUDA NVIDIA GPU *1 C/C++ (nvcc) CUDA NVIDIA GPU GPU CUDA CUDA 1 CUDA CUDA 2 CUDA NVIDIA GPU PC Windows Linux MaxOSX CUDA GPU CUDA NVIDIA

More information

For_Beginners_CAPL.indd

For_Beginners_CAPL.indd CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

- - http://168iroha.net 018 10 14 i 1 1 1.1.................................................... 1 1.................................................... 7.1................................................

More information

12-7 12-7 12-7 12-7 12-8 12-10 12-10 12-10 12-11 12-12 12-12 12-14 12-15 12-17 12-18 10 12-19 12-20 12-20 12-21 12-22 12-22 12-23 12-25 12-26 12-26 12-29 12-30 12-30 12-31 12-33 12-34 12-3 12-35 12-36

More information

関数のグラフを描こう

関数のグラフを描こう L05(2010-05-07) 1 2 hig3.net ( ) L05(2010-05-07) 1 / 16 #i n c l u d e double f ( double x ) ; i n t main ( void ){ i n t n ; i n t nmax=10; double x ; double s =0.0; } x = 1.0; s=s+x ;

More information

3.1 stdio.h iostream List.2 using namespace std C printf ( ) %d %f %s %d C++ cout cout List.2 Hello World! cout << float a = 1.2f; int b = 3; cout <<

3.1 stdio.h iostream List.2 using namespace std C printf ( ) %d %f %s %d C++ cout cout List.2 Hello World! cout << float a = 1.2f; int b = 3; cout << C++ C C++ 1 C++ C++ C C++ C C++? C C++ C *.c *.cpp C cpp VC C++ 2 C++ C++ C++ [1], C++,,1999 [2],,,2001 [3], ( )( ),,2001 [4] B.W. /D.M.,, C,,1989 C Web [5], http://kumei.ne.jp/c_lang/ 3 Hello World Hello

More information

解きながら学ぶC++入門編

解きながら学ぶC++入門編 !... 38!=... 35 "... 112 " "... 311 " "... 4, 264 #... 371 #define... 126, 371 #endif... 369 #if... 369 #ifndef... 369 #include... 3, 311 #undef... 371 %... 17, 18 %=... 85 &... 222 &... 203 &&... 40 &=...

More information

はじめにお読みください

はじめにお読みください START 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 32 @ 33 34 35 36 37 38 39 40 41 & @ 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 & 60 61 62 63 64 65 66 67 68

More information

cpp1.dvi

cpp1.dvi 2017 c 1 C++ (1) C C++, C++, C 11, 12 13 (1) 14 (2) 11 1 n C++ //, [List 11] 1: #include // C 2: 3: int main(void) { 4: std::cout

More information

joho07-1.ppt

joho07-1.ppt 0xbffffc5c 0xbffffc60 xxxxxxxx xxxxxxxx 00001010 00000000 00000000 00000000 01100011 00000000 00000000 00000000 xxxxxxxx x y 2 func1 func2 double func1(double y) { y = y + 5.0; return y; } double func2(double*

More information

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do (Version: 2017/4/18) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

-1-1 1 1 1 1 12 31 2 2 3 4

-1-1 1 1 1 1 12 31 2 2 3 4 2007 -1-1 1 1 1 1 12 31 2 2 3 4 -2-5 6 CPU 3 Windows98 1 -3-2. 3. -4-4 2 5 1 1 1 -5- 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000-6- -7-1 Windows 2 -8-1 2 3 4 - - 100,000 200,000 500,000

More information

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) { double

More information

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved (Version: 2013/7/10) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

Gpci4ソフト_下位DLL_説明書3版.PDF

Gpci4ソフト_下位DLL_説明書3版.PDF G-PCI4 ... 3 WINDOWSNT...3 WINDOWS2000/XP...3... 4...4 DLL WINDOWSNT/2000/XP...4...4... 5...5... 6...6...6...6...6...7...9...11... 11... 11... 11... 12... 12...12 ...13...14 1... 14 2... 15 3... 16 4...

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

double float

double float 2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................

More information

untitled

untitled 1. 2. 3. 4. 5. 6. 7. Intelligent Electronic Systems Group 4 PC bitmap.bmp (255,0,0)"" p8-2forint.c or p8-2formot.cdl (printf) (R,G,B)=(127,127,0) (R,G,B)=(255,127,0) viewer bitmap.bmp 1616 24bit (R,G,B)

More information

Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2

Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2 Kinect 2014 9 19 IS Report No. 2014092901 Report Medical Information System Laboratory Abstract Kinect for Windows 2012 2 RGB Kinect for Windows v2 2014 7 Kinect for Windows v2 1............................

More information

main.dvi

main.dvi PC 1 1 [1][2] [3][4] ( ) GPU(Graphics Processing Unit) GPU PC GPU PC ( 2 GPU ) GPU Harris Corner Detector[5] CPU ( ) ( ) CPU GPU 2 3 GPU 4 5 6 7 1 toyohiro@isc.kyutech.ac.jp 45 2 ( ) CPU ( ) ( ) () 2.1

More information

1 CUI CUI CUI 1.1 cout cin 1.1.1 redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c

1 CUI CUI CUI 1.1 cout cin 1.1.1 redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c C/C++ 007 6 11 1 CUI 1.1....................................... 1................................ 3 1.3 argc argv................................. 5.1.............................................. 5...............................................

More information

r3.dvi

r3.dvi 00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;

More information

2

2 1 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

応用数学特論.dvi

応用数学特論.dvi 1 1 1.1.1 ( ). P,Q,R,.... 2+3=5 2 1.1.2 ( ). P T (true) F (false) T F P P T P. T 2 F 1.1.3 ( ). 2 P Q P Q P Q P Q P or Q P Q P Q P Q T T T T F T F T T F F F. P = 5 4 Q = 3 2 P Q = 5 4 3 2 P F Q T P Q T

More information

Quartus II ハンドブック Volume 5、セクションIV. マルチプロセッサの調整

Quartus II ハンドブック  Volume 5、セクションIV. マルチプロセッサの調整 IV. SOPC Builder Nios II 9 Avalon Mutex 10 Avalon Mailbox 9 10 / 9 v5.1.0 2005 5 v5.0.0 Nios II 2004 12 v1.0 10 v5.1.0 2005 5 v5.0.0 Altera Corporation IV 1 Quartus II Volume 5 IV 2 Altera Corporation

More information

untitled

untitled 20 31 5104258 1 1. p 2. p 2.1. p 2.2.i ppli Development Kit for JDK-4.0(FOMA) p 2.3. p 2.4. i p 3. p11 3.1. p12 3.2. IApplication RPG2 p12 3.3. RpgCnav p13 3.4. ScratchPad ImageMap MapData p14 4. p17 5.

More information

0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2

0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2 24 11 10 24 12 10 30 1 0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2 23% 29% 71% 67% 6% 4% n=1525 n=1137 6% +6% -4% -2% 21% 30% 5% 35% 6% 6% 11% 40% 37% 36 172 166 371 213 226 177 54 382 704 216

More information

10 117 5 1 121841 4 15 12 7 27 12 6 31856 8 21 1983-2 - 321899 12 21656 2 45 9 2 131816 4 91812 11 20 1887 461971 11 3 2 161703 11 13 98 3 16201700-3 - 2 35 6 7 8 9 12 13 12 481973 12 2 571982 161703 11

More information

untitled

untitled Fortran90 ( ) 17 12 29 1 Fortran90 Fortran90 FORTRAN77 Fortran90 1 Fortran90 module 1.1 Windows Windows UNIX Cygwin (http://www.cygwin.com) C\: Install Cygwin f77 emacs latex ps2eps dvips Fortran90 Intel

More information

新版明解C言語 実践編

新版明解C言語 実践編 2 List - "max.h" a, b max List - max "max.h" #define max(a, b) ((a) > (b)? (a) : (b)) max List -2 List -2 max #include "max.h" int x, y; printf("x"); printf("y"); scanf("%d", &x); scanf("%d", &y); printf("max(x,

More information

(300, 150) 120 getchar() HgBox(x, y, w, h) (x, y), w, h #include <stdio.h> #include <handy.h> int main(void) { int i; double w, h; } HgO

(300, 150) 120 getchar() HgBox(x, y, w, h) (x, y), w, h #include <stdio.h> #include <handy.h> int main(void) { int i; double w, h; } HgO Handy Graphic for Handy Graphic Version 0.5 2008-06-09 1 Handy Graphic Handy Graphic C Handy Graphic Handy Graphic Mac OS X Handy Graphic HgDisplayer Handy Graphic HgDisplayer 2 Handy Graphic 1 Handy Graphic

More information

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます.  このサンプルページの内容は, 新装版 1 刷発行時のものです. C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383

More information

Emacs ML let start ::= exp (1) exp ::= (2) fn id exp (3) ::= (4) (5) ::= id (6) const (7) (exp) (8) let val id = exp in

Emacs ML let start ::= exp (1) exp ::= (2) fn id exp (3) ::= (4) (5) ::= id (6) const (7) (exp) (8) let val id = exp in Emacs, {l06050,sasano}@sic.shibaura-it.ac.jp Eclipse Visual Studio Standard ML Haskell Emacs 1 Eclipse Visual Studio variable not found LR(1) let Emacs Emacs Emacs Java Emacs JDEE [3] JDEE Emacs Java 2

More information

2008 DS T050049

2008 DS T050049 DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049

More information

1 GPU GPGPU GPU CPU 2 GPU 2007 NVIDIA GPGPU CUDA[3] GPGPU CUDA GPGPU CUDA GPGPU GPU GPU GPU Graphics Processing Unit LSI LSI CPU ( ) DRAM GPU LSI GPU

1 GPU GPGPU GPU CPU 2 GPU 2007 NVIDIA GPGPU CUDA[3] GPGPU CUDA GPGPU CUDA GPGPU GPU GPU GPU Graphics Processing Unit LSI LSI CPU ( ) DRAM GPU LSI GPU GPGPU (I) GPU GPGPU 1 GPU(Graphics Processing Unit) GPU GPGPU(General-Purpose computing on GPUs) GPU GPGPU GPU ( PC ) PC PC GPU PC PC GPU GPU 2008 TSUBAME NVIDIA GPU(Tesla S1070) TOP500 29 [1] 2009 AMD

More information

ip-leda-homepage.dvi

ip-leda-homepage.dvi LEDA:,,,, Kurt Mehlhorn LEDA LEDA 1 [2] LEDA Library for Efficient Data types and Algorithms LEDA LEDA C++ 1 LEDA LEDA Dijkstra( ) LEDA 2 : LEDA LEDA VORONOI() 1, LEDA voronoi demo.c LEDA 2 1: LEDA LEDA

More information

ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows XP SP2 Professional ORiN2 SDK USB D

ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows XP SP2 Professional ORiN2 SDK USB D ORiN FA ORiN USB ORiN 1 1 ORiN CAO 1 1 USB USB ORiN 2 3 2 ( ) 3 1 Web ORiN USB ( ) ( ) ( ) ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows

More information

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v 1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );

More information

280-NX702J-A0_TX-1138A-A_NX702J.indb

280-NX702J-A0_TX-1138A-A_NX702J.indb NX702 1. 2. 3. 9 10 11 12 13 1 2 3 4 5 6 4 7 8 16 17 18 19 20 21 22 23 24 25 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22.

More information

Slide 1

Slide 1 CUDA プログラミングの基本 パート II - カーネル CUDA の基本の概要 パート I CUDAのソフトウェアスタックとコンパイル GPUのメモリ管理 パート II カーネルの起動 GPUコードの具体像 注 : 取り上げているのは基本事項のみです そのほか多数の API 関数についてはプログラミングガイドを ご覧ください GPU 上でのコードの実行 カーネルは C 関数 + 多少の制約 ホストメモリはアクセスできない戻り値型は

More information

GLS user s reference 19 8 21 1 3 1.1....................................................... 3 1.2....................................................... 3 1.3.......................................................

More information

ARM gcc Kunihiko IMAI 2009 1 11 ARM gcc 1 2 2 2 3 3 4 3 4.1................................. 3 4.2............................................ 4 4.3........................................

More information

Jacques Garrigue

Jacques Garrigue Jacques Garrigue Garrigue 1 Garrigue 2 $ print_lines () > for i in $1; do > echo $i > done $ print_lines "a b c" a b c Garrigue 3 Emacs Lisp (defun print-lines (lines) (dolist (str lines) (insert str)

More information

±é½¬£²¡§£Í£Ð£É½éÊâ

±é½¬£²¡§£Í£Ð£É½éÊâ 2012 8 7 1 / 52 MPI Hello World I ( ) Hello World II ( ) I ( ) II ( ) ( sendrecv) π ( ) MPI fortran C wget http://www.na.scitec.kobe-u.ac.jp/ yaguchi/riken2012/enshu2.zip unzip enshu2.zip 2 / 52 FORTRAN

More information

Java updated

Java updated Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................

More information

AquesTalk プログラミングガイド

AquesTalk プログラミングガイド AquesTalk プログラミングガイド ( 株 ) アクエスト 1. 概要 本文書は 規則音声合成ライブラリ AquesTalk をアプリケーションに組み込んで使用するためのプログラミングに関して 方法および注意点を示したものです AquesTalk には 2 種類のライブラリがあります 音声データをメモリ上に生成するものと サウンドデバイスに出力する 2 種類があります 使用するアプリケーションに応じて選択してください

More information

1 4 1.1........................................... 4 1.2.................................. 4 1.3................................... 4 2 5 2.1 GPU.....

1 4 1.1........................................... 4 1.2.................................. 4 1.3................................... 4 2 5 2.1 GPU..... CPU GPU N Q07-065 2011 2 17 1 1 4 1.1........................................... 4 1.2.................................. 4 1.3................................... 4 2 5 2.1 GPU...........................................

More information

JAXA key

JAXA key ! 芸術衛星INVADERのフライトモデル I A 2 8 7 IC J 6 R 22 I 7 6 C 9 I 9 9 J 7R 2 R 9 6 8 I 7 8 7 2 I22 7 8 2 J C I R 2 8 7 J 8 2 R C J C 9 6 I 2 6 7 2 8 8 6 I C 7 I C 9 C 9 J 7 C R 2 8 7 I I 9 6 8 2 R J 8 7 C

More information

OpenCV IS Report No Report Medical Information System Labratry

OpenCV IS Report No Report Medical Information System Labratry OpenCV 2014 8 25 IS Report No. 2014090201 Report Medical Information System Labratry Abstract OpenCV OpenCV 1............................ 2 1.1 OpenCV.......................... 2 1.2......................

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

Nios® II HAL API を使用したソフトウェア・サンプル集 「Modular Scatter-Gather DMA Core」

Nios® II HAL API を使用したソフトウェア・サンプル集 「Modular Scatter-Gather DMA Core」 ALTIMA Company, MACNICA, Inc Nios II HAL API Modular Scatter-Gather DMA Core Ver.17.1 2018 8 Rev.1 Nios II HAL API Modular Scatter-Gather DMA Core...3...3...4... 4... 5 3-2-1. msgdma... 6 3-2-2. On-Chip

More information

目次 目次... 1 はじめに... 3 概要... 4 サポート環境... 5 関数... 6 MEC_OpenDevice... 7 MECDevice_Release... 8 MECDevice_GetFirmVersion... 9 MECDevice_GetCoreTemperature

目次 目次... 1 はじめに... 3 概要... 4 サポート環境... 5 関数... 6 MEC_OpenDevice... 7 MECDevice_Release... 8 MECDevice_GetFirmVersion... 9 MECDevice_GetCoreTemperature MECodecAPI Reference Manual 2015 年 9 月 1 日 MEDIAEDGE 株式会社 目次 目次... 1 はじめに... 3 概要... 4 サポート環境... 5 関数... 6 MEC_OpenDevice... 7 MECDevice_Release... 8 MECDevice_GetFirmVersion... 9 MECDevice_GetCoreTemperature...

More information

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

Windows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2

Windows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2 Windows C++ Microsoft Visual Studio 2010 C++ Microsoft C++ Microsoft Visual Studio 2010 Microsoft Visual Studio 2010 C++ C C++ Microsoft Visual Studio 2010 Professional Professional 1 Professional Professional

More information

2004 2005 2 2 1G01P038-0 1 2 1.1.............................. 2 1.2......................... 2 1.3......................... 3 2 4 2.1............................ 4 2.2....................... 4 2.3.......................

More information

Slide 1

Slide 1 CUDA プログラミングの基本 パート I - ソフトウェアスタックとメモリ管理 CUDA の基本の概要 パート I CUDAのソフトウェアスタックとコンパイル GPUのメモリ管理 パートII カーネルの起動 GPUコードの具体項目 注 : 取り上げているのは基本事項のみです そのほか多数の API 関数についてはプログラミングガイドを ご覧ください CUDA インストレーション CUDA インストレーションの構成

More information

AquesTalk for WinCE プログラミングガイド

AquesTalk for WinCE プログラミングガイド AquesTalk for WinCE プログラミングガイド ( 株 ) アクエスト 1. 概要 本文書は 規則音声合成ライブラリ AquesTalk for WinCE ( 以下 AquesTalk) をアプリケーションに組み込んで使用するためのプログラミングに関して 方法および注意点を示したものです AquesTalk には 2 種類のライブラリがあります 音声データをメモリ上に生成するものと

More information

Informatics 2010.key

Informatics 2010.key http://math.sci.hiroshima-u.ac.jp/ ~ryo/lectures/informatics2010/ 1 2 C ATM etc. etc. (Personal Computer) 3 4 Input Output Device Central Processing Unit I/O CPU Memory 5 6 (CPU),,... etc. C, Java, Fortran...

More information

tutorial_lc.dvi

tutorial_lc.dvi 00 Linux v.s. RT Linux v.s. ART-Linux Linux RT-Linux ART-Linux Linux kumagai@emura.mech.tohoku.ac.jp 1 1.1 Linux Yes, No.,. OS., Yes. Linux,.,, Linux., Linux.,, Linux. Linux.,,. Linux,.,, 0..,. RT-Linux

More information

GPU Computing on Business

GPU Computing on Business GPU Computing on Business 2010 Numerical Technologies Incorporated http://www.numtech.com/ 1 2 3 4 5 6 7 8 9 GPU Computing $$$ Revenue Total Cost low BEP Quantity 10 11 12 13 14 15 GPU Computing $$$ Revenue

More information

An Introduction to OSL

An Introduction to OSL .... An Introduction to OSL TeamGPS 2009 3 CSA (TeamGPS) An Introduction to OSL 2009 3 CSA 1 / 45 ..1..2..3..4.... : (TeamGPS) An Introduction to OSL 2009 3 CSA 2 / 45 Disclaimer: OSL Bonanza Crafty (pruning/cut,

More information

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit)

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit) GNU MP BNCpack tkouya@cs.sist.ac.jp 2002 9 20 ( ) Linux Conference 2002 1 1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit) 10 2 2 3 4 5768:9:; = %? @BADCEGFH-I:JLKNMNOQP R )TSVU!" # %$ & " #

More information

新・明解C言語 実践編

新・明解C言語 実践編 第 1 章 見 21 1-1 見えないエラー 見 List 1-1 "max2x1.h" a, b max2 List 1-1 chap01/max2x1.h max2 "max2x1.h" #define max2(a, b) ((a) > (b)? (a) : (b)) max2 List 1-2 List 1-2 chap01/max2x1test.c max2 #include

More information

para02-2.dvi

para02-2.dvi 2002 2 2002 4 23 : MPI MPI 1 MPI MPI(Message Passing Interface) MPI UNIX Windows Machintosh OS, MPI 2 1 1 2 2.1 1 1 1 1 1 1 Fig. 1 A B C F Fig. 2 A B F Fig. 1 1 1 Fig. 2 2.2 Fig. 3 1 . Fig. 4 Fig. 3 Fig.

More information

新・明解Java入門

新・明解Java入門 537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,

More information

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java 1 Java Java 1.1 Java 1) 2) 3) Java OS Java 1.3 4) Java Web Start Web / 5) Java C C++ Java JSP(Java Server Pages) 1) OS 2) 3) 4) Java Write Once, Run Anywhere 5) Java Web Java 2 1 Web Java Android Java

More information

IPSJ SIG Technical Report Vol.2013-HPC-138 No /2/21 GPU CRS 1,a) 2,b) SpMV GPU CRS SpMV GPU NVIDIA Kepler CUDA5.0 Fermi GPU Kepler Kepler Tesla

IPSJ SIG Technical Report Vol.2013-HPC-138 No /2/21 GPU CRS 1,a) 2,b) SpMV GPU CRS SpMV GPU NVIDIA Kepler CUDA5.0 Fermi GPU Kepler Kepler Tesla GPU CRS 1,a),b) SpMV GPU CRS SpMV GPU NVIDIA Kepler CUDA5.0 Fermi GPU Kepler Kepler Tesla K0 CUDA5.0 cusparse CRS SpMV 00 1.86 177 1. SpMV SpMV CRS Compressed Row Storage *1 SpMV GPU GPU NVIDIA Kepler

More information

HPC (pay-as-you-go) HPC Web 2

HPC (pay-as-you-go) HPC Web 2 ,, 1 HPC (pay-as-you-go) HPC Web 2 HPC Amazon EC2 OpenFOAM GPU EC2 3 HPC MPI MPI Courant 1 GPGPU MPI 4 AMAZON EC2 GPU CLUSTER COMPUTE INSTANCE EC2 GPU (cg1.4xlarge) ( N. Virgina ) Quadcore Intel Xeon 5570

More information

MELSEC OPCサーバマニュアル

MELSEC OPCサーバマニュアル TAKEBISHI Software Library RemoteLOGGER Standard OPCDA2.0 Users Manual Revision C 1-1 MELSEC-AMELSEC-QnAMELSEC-QMELSECNET GX-Developer( GPPW ) WindowsWindows NTEXCEL Microsoft Ethernet Xerox Corporation

More information

Informatics 2014

Informatics 2014 C 計算機の歴史 手回し計算機 新旧のソロバン バベッジの階差機関 スパコン ENIAC (1946) パソコン 大型汎用計算機 電卓 現在のコンピュータ Input Output Device Central Processing Unit I/O CPU Memory OS (Operating System) OS Windows 78, Vista, XP Windows Mac OS X

More information

programmingII2019-v01

programmingII2019-v01 II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2

More information

PDF EX S/W OS Office

PDF EX S/W OS Office PDF EX PDF EX 1... 4 1.1... 4 1.2... 4 2... 5 2.1... 5 2.2... 6 2.3... 6 3... 7 3.1... 7 3.2 S/W... 7 3.2.1 OS... 7 3.2.2... 7 3.2.3 Office 2013... 8 4... 9 4.1... 9 4.1.1... 9 4.1.2... 9 4.1.3... 9 4.1.4...

More information

(1/2) 2/45 HPC top runner application programmer PC-9801F N88-BASIC Quick BASIC + DOS ( ) BCB Windows Percolation, Event-driven MD ActionScript Flash

(1/2) 2/45 HPC top runner application programmer PC-9801F N88-BASIC Quick BASIC + DOS ( ) BCB Windows Percolation, Event-driven MD ActionScript Flash 1/45 8 Outline 1. 2. 3. 4. Jun. 6, 2013@ A (1/2) 2/45 HPC top runner application programmer PC-9801F N88-BASIC Quick BASIC + DOS ( ) BCB Windows Percolation, Event-driven MD ActionScript Flash MPI MD (2/2)

More information

! 行行 CPUDSP PPESPECell/B.E. CPUGPU 行行 SIMD [SSE, AltiVec] 用 HPC CPUDSP PPESPE (Cell/B.E.) SPE CPUGPU GPU CPU DSP DSP PPE SPE SPE CPU DSP SPE 2

! 行行 CPUDSP PPESPECell/B.E. CPUGPU 行行 SIMD [SSE, AltiVec] 用 HPC CPUDSP PPESPE (Cell/B.E.) SPE CPUGPU GPU CPU DSP DSP PPE SPE SPE CPU DSP SPE 2 ! OpenCL [Open Computing Language] 言 [OpenCL C 言 ] CPU, GPU, Cell/B.E.,DSP 言 行行 [OpenCL Runtime] OpenCL C 言 API Khronos OpenCL Working Group AMD Broadcom Blizzard Apple ARM Codeplay Electronic Arts Freescale

More information

iphone GPGPU GPU OpenCL Mac OS X Snow LeopardOpenCL iphone OpenCL OpenCL NVIDIA GPU CUDA GPU GPU GPU 15 GPU GPU CPU GPU iii OpenMP MPI CPU OpenCL CUDA OpenCL CPU OpenCL GPU NVIDIA Fermi GPU Fermi GPU GPU

More information

疎な転置推移確率行列

疎な転置推移確率行列 B E05(2019-05-15 Tue) : Time-stamp: 2019-05-17 Fri 16:18 JST hig http://hig3.net ( ) E05 B(2019) 1 / 11 x = 0,..., m 1 m. p(t), p(x, t) 1 double p [m] = { 1. 0, 0. 0,...., 0. 0 } ; /. m. / 2 / {p ( 0,

More information

XMPによる並列化実装2

XMPによる並列化実装2 2 3 C Fortran Exercise 1 Exercise 2 Serial init.c init.f90 XMP xmp_init.c xmp_init.f90 Serial laplace.c laplace.f90 XMP xmp_laplace.c xmp_laplace.f90 #include int a[10]; program init integer

More information

インテル(R) Visual Fortran Composer XE 2011 Windows版 入門ガイド

インテル(R) Visual Fortran Composer XE 2011 Windows版 入門ガイド Visual Fortran Composer XE 2011 Windows* エクセルソフト株式会社 www.xlsoft.com Rev. 1.0 (2010/12/20) Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 1 / 36 ... 3... 4... 5... 7 /... 7... 9 /... 9...

More information

/* sansu1.c */ #include <stdio.h> main() { int a, b, c; /* a, b, c */ a = 200; b = 1300; /* a 200 */ /* b 200 */ c = a + b; /* a b c */ }

/* sansu1.c */ #include <stdio.h> main() { int a, b, c; /* a, b, c */ a = 200; b = 1300; /* a 200 */ /* b 200 */ c = a + b; /* a b c */ } C 2: A Pedestrian Approach to the C Programming Language 2 2-1 2.1........................... 2-1 2.1.1.............................. 2-1 2.1.2......... 2-4 2.1.3..................................... 2-6

More information

C V C 6 1 6.1.............................. 1 6.......................... 3 6.3..................... 5 6.4 NULL............................. 8 6.5......................... 9 6.6..............................

More information

高等学校学習指導要領解説 数学編

高等学校学習指導要領解説 数学編 5 10 15 20 25 30 35 5 1 1 10 1 1 2 4 16 15 18 18 18 19 19 20 19 19 20 1 20 2 22 25 3 23 4 24 5 26 28 28 30 28 28 1 28 2 30 3 31 35 4 33 5 34 36 36 36 40 36 1 36 2 39 3 41 4 42 45 45 45 46 5 1 46 2 48 3

More information

PrimeTV /S : NV-PT2000S User s Manual Rev. 1.01 ....... 1) 2). 1 6 PrimeTVReMiX 2000 LifeViewFlyVideoAnimation Technologies, Inc. Windows Microsoft PrimeTV/S... 2 1PrimeTV... 3 1.1...3 1.2...3 1.3 PrimeTV...3

More information

卒 業 研 究 報 告.PDF

卒 業 研 究 報 告.PDF C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)

More information

£Ã¥×¥í¥°¥é¥ß¥ó¥°(2018) - Âè10²ó – ¿¹à¼°¤Îɾ²Á¡§¥¢¥ë¥´¥ê¥º¥à¤Î²þÁ± –

£Ã¥×¥í¥°¥é¥ß¥ó¥°(2018) - Âè10²ó – ¿¹à¼°¤Îɾ²Á¡§¥¢¥ë¥´¥ê¥º¥à¤Î²þÁ± – (2018) 10 2018 12 06 p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0 = n a n x n k=0 p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0 = n a n x n k=0 1 a k x k = a k {{ x x x p(x) = a n x n + a n 1 x n 1 + +

More information