# 컴파일러별 AVX-512 옵션 정리

각 컴파일러들에서 INTEL AVX-512(Advanced Vector Extensions 512) 를 활성화 시키는 옵션입니다.

INTEL AVX-512 참고 : <https://en.wikipedia.org/wiki/AVX-512>

* GNU
  * Skylake : -march=skylake-avx512
  * KNL : -march=knl
* Intel
  * Skylake : -xCORE-AVX512
  * KNL : -xMIC-AVX512

※ 참고 : <https://software.intel.com/en-us/articles/compiling-for-the-intel-xeon-phi-processor-and-the-intel-avx-512-isa>

* PGI
  * Skylake : -tp=skylake
  * KNL : -tp=knl

※ 참고 : <https://www.pgroup.com/resources/docs/18.1/x86/pgi-release-notes/index.htm>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-ksc.gitbook.io/blog/tips/common/avx-512-options-by-compiler.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
