'BLAS'에 해당되는 글 2건

  1. 2011.01.24 cuBLAS / BLAS Level 1,2,3
  2. 2010.10.24 BLAS - Basic Linear Algebra Subprograms
Programming/openCL & CUDA2011. 1. 24. 23:05
cuda kernel만 보다가 머리가 아파서 잠시 BLAS로 외도 
FFT도 잠시 보다가 외계어에서 좌절 OTL

CUBLAS_Library_3.1.pdf 을 읽다 보니, BLAS에도 레벨이 있다고 한다.
Level 1 Basic Linear Algebra Subprograms (BLAS1)
             are functions that perform scalar, vector, and vector‐vector operations. 

The Level 2 Basic Linear Algebra Subprograms (BLAS2) are functions that perform matrix‐vector operations.

Level 3 Basic Linear Algebra Subprograms (BLAS3) perform matrix‐matrix operations.


혹시나 해서 CUDA에서만 적용되는 건가 해서 찾아 봤더니 원래 BLAS에 있는 개념이다.
Posted by 구차니
Programming/openCL & CUDA2010. 10. 24. 21:03
처음 BLAS라는 것의 존재를 알게된 것은
MATLAB이라는 녀석을 AMD cpu 에서 돌릴때였다.
[링크 : http://blog.naver.com/morpheuz82/130016114034] << 네이년 구차니 블로그

아무튼 그때는 별 생각없이 넘어갔는데
CUDA를 설치하려고 하면서 메뉴얼들을 보니 CUBLAS Library라는게 눈에 띄길래 또 다시 검색을 했는데
여전히 무슨 말인지는 모르겠다 -_-


선형대수를 안들은걸 지금와서 후회중 ㅠ.ㅠ
간단하게 이해하자면(응?) 선형대수학 연산중 "벡터" 와 "행렬의 곱셈" 등과 같은 연산에 대한 표준을 의미하는 것으로 보인다.

Basic Linear Algebra Subprograms (BLAS) is a de facto application programming interface standard for publishing libraries to perform basic linear algebra operations such as vector and matrix multiplication. They were first published in 1979, and are used to build larger packages such as LAPACK. Heavily used in high-performance computing, highly optimized implementations of the BLAS interface have been developed by hardware vendors such as Intel and AMD, as well as by other authors, e.g. Goto BLAS and ATLAS (a portable self-optimizing BLAS). The LINPACK benchmark relies heavily on DGEMM, a BLAS subroutine, for its performance.

[링크 : http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms]

SIMD 계열인 MMX나 SSE 등도 모두 이러한 BLAS와 연관이 있을것으로 추측된다.
(그런 이유로 "highly optimized implementations of the BLAS interface have been developed by hardware vendors such as Intel and AMD" 라고 CPU 업체들이 언급이 될게 아닐까?)

[링크 : http://en.wikipedia.org/wiki/SIMD]
[링크 : http://en.wikipedia.org/wiki/MMX_(instruction_set)]
[링크 : http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions]

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

CUDA 와 SLI  (0) 2010.10.30
CUDA SDK 설치하기  (2) 2010.10.24
CUDA Toolkit 설치하기  (0) 2010.10.24
nbody  (0) 2010.10.10
GPU 컴퓨팅 전문기업 - 미루웨어  (0) 2010.10.10
Posted by 구차니