전체 글 11

Downloading Metals (Vscode Scala extension) failed with the following: spawn "경로" ENOENT 에러

2년뒤의 내가 또 헤맬게 뻔해서 적어두는 메모 2년만에 scala를 써야 할 일이 있어서 이것저것 건드리다보니 분명 2주전까지는 잘만 찾아가던 경로가 꼬였다 아마 정석대로 해결하려면 https://stackoverflow.com/questions/70609825/downloading-metals-vscode-scala-extension-failed-with-the-following-spawn-c Downloading Metals (Vscode Scala extension) failed with the following: spawn C:\Program Files (x86)\Java\jdk1.8.0_144\bin\bin\ja I'm trying to run a Scala program on the vscod..

Java 2023.10.06

[Pintos] project2-2 syscall 나머지

틀린 내용 있을 수 있습니다 지적 환영 TODO System call implementation - read, write, exec, wait, remove, filesize, seek, tell ^^.. pintos/src/userprog/syscall.c의 스위치문에 마저 케이스를 완성해주고, 아래에 함수 뼈대도 만들어준다. 당연히 헤더파일에도 적어줌. 사실 저번 프로젝트때 여기까지는 해두고 안쓰는건 주석처리해두고 내서 주석만 없애주면 됐다.. 아주 칭찬해 정말 그럼 이제 필요한 파일들을 열어둬야한다(편의를 위해) ppt를 읽어보자 filesys/filesys.h, filesys/file.h, lib/syscall-nr.h을 참조할것, 그렇지만 modify는 필요없다(아직까진-^^;;;)솔직히 그렇게..

Operating System 2023.06.09

[Pintos] project2-1 syscall 일부

틀린 내용 있을 수 있습니다 지적 환영 2-1에서 구현해야 할 syscall는 halt, exit, create, open, close, write src/lib/user/syscall.c를 참고하여 각 함수들로 보내는 값들을 먼저 적어준다 argument의 개수에 따라 syscall0, syscall1 등으로 나눠져있는걸 확인할 수 있는데, 프로젝트 ppt에 따르면, 1: argument is located in esp+1 2: arguments are located in esp+4 (arg0), esp+5 (arg1) 3: arguments are located in esp+5 (arg0), esp+6 (arg1), esp+7 (arg2) 이를 참고하여 적어준다 예를 들어 halt의 경우 `passi..

Operating System 2023.05.01

[GPU programming] Multidimensional Data and Computation on the GPU Quiz

1. 질문 1 Which statement is not true about the syntax below: kernel(args) T​he value(s) in args, can only be the name(s) of a kernel(s). T​his is false as the value(s) that args represents are arguments to the kernel. 2. 질문 2 I​f you would like a 2-dimensional data/execution mapping of threads in your blocks for your kernel, which of the following would calculate the index of the thread and data?..

Coursera 2022.07.18