- Save crendentials.json according to step one in this doc
- Run
authenticate.py - Run
share_dir.py -hto see how to use it. Then run the script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pintos -v -k -T 10 --qemu --filesys-size=2 -p tests/userprog/args-none -a args-none -- -q -f run args-none < /dev/null 2> tests/userprog/args-none.errors > tests/userprog/args-none.output | |
| perl -I../.. ../../tests/userprog/args-none.ck tests/userprog/args-none tests/userprog/args-none.result | |
| pass tests/userprog/args-none | |
| pintos -v -k -T 10 --qemu --filesys-size=2 -p tests/userprog/args-single -a args-single -- -q -f run 'args-single onearg' < /dev/null 2> tests/userprog/args-single.errors > tests/userprog/args-single.output | |
| perl -I../.. ../../tests/userprog/args-single.ck tests/userprog/args-single tests/userprog/args-single.result | |
| pass tests/userprog/args-single | |
| pintos -v -k -T 10 --qemu --filesys-size=2 -p tests/userprog/args-multiple -a args-multiple -- -q -f run 'args-multiple some arguments for you!' < /dev/null 2> tests/userprog/args-multiple.errors > tests/userprog/args-multiple.output | |
| perl -I../.. ../../tests/userprog/args-multiple.ck tests/userprog/args-multiple tests/userprog/args-multiple.resu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Executing 'tar fs.tar /': | |
| [DEBUG] syscall 4: SYS_CREATE by thread tar | |
| [DEBUG] syscall 6: SYS_OPEN by thread tar | |
| [DEBUG] SYS_OPEN: File fs.tar is opened as fd 5 by thread tar | |
| [DEBUG] syscall 6: SYS_OPEN by thread tar | |
| [DEBUG] SYS_OPEN: File / is opened as fd 6 by thread tar | |
| [DEBUG] syscall 20: SYS_INUMBER by thread tar | |
| [DEBUG] syscall 20: SYS_INUMBER by thread tar | |
| [DEBUG] syscall 19: SYS_ISDIR by thread tar | |
| [DEBUG] SYS_ISDIR checking fd 6, result 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all: hello hello.fatbin hello.ptx dyload | |
| hello: kernel.cu | |
| nvcc -std=c++11 -arch sm_60 kernel.cu -o hello -lcuda | |
| hello.fatbin: kernel.cu | |
| nvcc -std=c++11 -arch sm_60 kernel.cu -o hello.fatbin --fatbin -lcuda | |
| hello.ptx: kernel.cu | |
| nvcc -std=c++11 -arch sm_60 kernel.cu -o hello.ptx -ptx | |
| dyload: hello.fatbin load.cu | |
| nvcc -std=c++11 -arch sm_60 load.cu -o dyload -lcuda | |
| clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cuda.h> | |
| #include <iostream> | |
| #include <chrono> | |
| #include <cassert> | |
| #include <vector> | |
| #include "blocked_conv.h" | |
| using namespace std::chrono; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.6 | |
| RUN pip install pillow starlette[full] uvicorn numpy | |
| COPY app.py test.py / | |
| CMD ["uvicorn", "app:app"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.