05 2019 档案

摘要:int bw = blockDim.x; int bh = blockDim.y; int tx = threadIdx.x%bw; int ty = threadIdx.y%bh; __shared__ uchar2 ys0[16][16]; __shared__ uchar2 ys1[16][16]; __shared__ ucha... 阅读全文
posted @ 2019-05-17 16:38 洛笔达 阅读(267) 评论(0) 推荐(0) 编辑
摘要:1. matMul 2. eval 函数 作用: 1.eval(): 将字符串string对象转化为有效的表达式参与求值运算返回计算结果2.eval()也是启动计算的一种方式。基于Tensorflow的基本原理,首先需要定义图,然后计算图,其中计算图的函数常见的有run()函数,如sess.run( 阅读全文
posted @ 2019-05-16 14:44 洛笔达 阅读(444) 评论(0) 推荐(0) 编辑
摘要:#include "cuda_runtime.h" #include "device_launch_parameters.h" #include "device_functions.h" #include #include #include cudaError_t addWithCuda(int *c, const int *a, const int *b, unsigned ... 阅读全文
posted @ 2019-05-10 18:38 洛笔达 阅读(843) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示