上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: # profiler ### nvprof 最早期的profiler,只提供cli ### nvvp 进化版本的nvprof,提供了gui ### ncu 写这个记录的时候,cuda已经不再支持nvprof,nvvp也变得异常难用(因为很多功能,比如metrics,去掉了)。现在推荐用nsight 阅读全文
posted @ 2022-04-12 20:34 ijpq 阅读(853) 评论(0) 推荐(0)
摘要: 15-213课程的实验目录 1.data lab 1.bomb lab 2.c review 3.rop in attack lab this page is catalog of book&pdf&ppt&video and any other learning perception notes 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(55) 评论(0) 推荐(0)
摘要: we could dynamic symbol printf with libc.so instead of include<stdio.h> in source file. a.c int main(){ printf("hi! .so success!\n"); return 0;} gcc a 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(48) 评论(0) 推荐(0)
摘要: link 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(38) 评论(0) 推荐(0)
摘要: 0x01 寻址基本理解 一般常见对内存的理解是将他看成是一个数组. 数组元素肯定有个大小, 数组的元素还需要有个序号. 这个数组的序号就是内存的地址, 而数组元素的大小是内存寻址的方式,最为常见的是按字节寻址,即每个数组元素(单元)可以存储一个字节大小的内容. cmu15213的例子 我们将内存地址 阅读全文
posted @ 2022-02-20 22:26 ijpq 阅读(300) 评论(0) 推荐(0)
摘要: 变量名和等号之间不能有空格 推荐给所有变量加上花括号,这是个好的编程习惯 字符串可以用单引号,也可以用双引号,也可以不用引号。 单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的 单引号字串中不能出现单独一个的单引号(对单引号使用转义符后也不行),但可成对出现,作为字符串拼接使用。 双引号 阅读全文
posted @ 2022-02-20 22:25 ijpq 阅读(25) 评论(0) 推荐(0)
摘要: Guide to Faster, Less Frustrating Debugging Guide to Faster, Less Frustrating Debugging Norman Matloff University of California at Davis (530) 752-195 阅读全文
posted @ 2022-02-20 22:25 ijpq 阅读(62) 评论(0) 推荐(0)
摘要: 涉及内容: awk if for split print for嵌套 echo 's3://clearml-train-log/video4%2Fhuman_reid/distributed_qa2.7e24d4e98f764883a8e42cb3f362a19d/models' | awk '{l 阅读全文
posted @ 2022-02-17 20:38 ijpq 阅读(26) 评论(0) 推荐(0)
摘要: 0x00 基础知识 Prior to the 5.0 release, CUDA did not support separate compilation, so CUDA code could not call device functions or access variables across 阅读全文
posted @ 2022-01-14 21:41 ijpq 阅读(526) 评论(0) 推荐(0)
摘要: bit operations /2, *2 odd or even 实现mod 当计算\(a \mod b\) 且 b是\(2^n\)时,可以直接使用\(a \& (b-1)\)来计算\(a \mod b\)​。 原理为:$a \mod b \(是\)a/b$​的余数。 因为\(b=2^n\),\( 阅读全文
posted @ 2021-12-20 19:36 ijpq 阅读(89) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页