1. Introduction Arm Neon intrinsic은 assembler 보다 쉽게 유지 관리되는 NEON 코드를 작성하는 방법이다. Neon intrinsic은 컴파일러가 적절한 Neon 명령어 또는 일련의 Neon 명령어로 대체하는 functional call이다. Neon 레지스터는 D레지스터와 Q레지스터 총 2개로 이루어지는데, D레지스터는 64-bit 데이터를 처리하고, Q레지스터는 128-bit 데이터를 처리한다. Neon 레지스터에 직접 매핑되는 C변수를 만들면 이 변수는 Neon Instrinsic에 전달되고 컴파일러는 실제 서브루틴 호출을 수행하는 대신 Neon 명령어를 직접 생성한다. Intrinsic은 어셈블리 만큼 많은 제어 기능을 제공하지만 레지스터 할당은 컴파일러에게 맡..
전체 글
공대생 노트장입니다.파이토치에서 reproduction을 위해서 seed를 설정해주고는 한다. 이 때, torch.set_deterministic(True)로 설정시 다음과 같은 에러를 마주 할 수 있다. RuntimeError: Deterministic behavior was enabled with either torch.set_deterministic(True) or at::Context::setDeterministic(true), but this operation is not deterministic because it uses CuBLAS and you have CUDA >= 10.2. To enable deterministic behavior in this case, you must set an environmen..