METHOD FOR OPTIMIZING PERFORMANCE OF ALGORITHM USING PRECISION SCALING
The present application relates to a method for optimizing the performance of an algorithm using precision scaling. According to an aspect of the present specification, the method for optimizing the performance of an algorithm using the precision scaling includes: a step of acquiring the number of t...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; kor |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present application relates to a method for optimizing the performance of an algorithm using precision scaling. According to an aspect of the present specification, the method for optimizing the performance of an algorithm using the precision scaling includes: a step of acquiring the number of times of calculating a unit operation based on the precision of the algorithm including the unit operation iteratively performed, wherein the precision includes first precision and second precision, and the number of times of calculating the unit operation includes the first number of times corresponding to the first precision and the second number of times corresponding to the second precision; a step of detecting available precision of a device to perform the algorithm, wherein the available precision includes first available precision corresponding to the first precision and second available precision corresponding to the second precision; a precision search step of determining the optimal precision by iteratively performing the unit operation corresponding to an initial operation of the algorithm by using the detected available precision; and a step of iteratively performing the unit operation corresponding to the subsequent operation of the algorithm by using the optimal precision.
본 출원은 정밀도 스케일링을 이용한 알고리즘 성능 최적화 방법에 관한 것으로, 본 명세서의 일 양상에 따른 정밀도 스케일링을 이용한 알고리즘 성능 최적화 방법은 반복 수행되는 단위 연산을 포함하는 알고리즘의 정밀도에 따른 상기 단위 연산의 연산 횟수를 획득하는 단계 - 상기 정밀도는 제1 정밀도 및 제2 정밀도를 포함하고, 상기 연산 횟수는 상기 제1 정밀도에 대응되는 제1 횟수 및 상기 제2 정밀도에 대응되는 제2 횟수를 포함함 - ; 상기 알고리즘이 실행될 디바이스의 가용 정밀도를 파악하는 단계 - 상기 가용 정밀도는 상기 제1 정밀도에 대응되는 제1 가용 정밀도 및 상기 제2 정밀도에 대응되는 제2 가용 정밀도를 포함함 - ; 상기 알고리즘의 초기 연산에 대응되는 상기 단위 연산을 상기 파악된 가용 정밀도를 이용하여 반복 수행하여 최적 정밀도를 결정하는 정밀도 탐색 단계; 및 상기 알고리즘의 후속 연산에 대응되는 상기 단위 연산을 상기 최적 정밀도로 반복 수행하는 단계를 포함한다. |
---|