摘要:
https://blog.csdn.net/qq_42734492/article/details/119540976 阅读全文
posted @ 2022-05-07 14:49
小kk_p
阅读(43)
评论(0)
推荐(0)
摘要:
#include<stdio.h> __global__ void helloFromGPU(void) { printf("Hello World from GPU!\n"); } int main(void) { printf("Hello World from CPU!\n"); helloF 阅读全文
posted @ 2022-05-06 17:40
小kk_p
阅读(1030)
评论(0)
推荐(0)
摘要:
# GeForce RTX 3070, 3080, 3090 # ARCH= -gencode arch=compute_86,code=[sm_86,compute_86] # Kepler GeForce GTX 770, GTX 760, GT 740 # ARCH= -gencode arc 阅读全文
posted @ 2022-05-06 15:21
小kk_p
阅读(4772)
评论(0)
推荐(0)
摘要:
std::bind 则是用来绑定函数调用的参数的, 它解决的需求是我们有时候可能并不一定能够一次性获得调用某个函数的全部参数,通过这个函数, 我们可以将部分调用参数提前绑定到函数身上成为一个新的对象,然后在参数齐全后,完成调用。 std::placeholder,当分批付给函数参数的过程中,如果还没 阅读全文
posted @ 2022-05-03 20:04
小kk_p
阅读(482)
评论(0)
推荐(0)
摘要:
class A { public: int x; protected: int y; private: int z; }; class B : public A { // x is public // y is protected // z is not accessible from B }; c 阅读全文
posted @ 2022-05-01 23:37
小kk_p
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号