05 2017 档案
摘要:通过sample的例子自己改编的一个例子#include #define BLOCK_DIM 5// Transpose kernel (see transpose CUDA Sample for details)__global__ void d_transpose...
阅读全文
摘要:通过sample的例子自己改编的一个例子#include #define BLOCK_DIM 5// Transpose kernel (see transpose CUDA Sample for details)__global__ void d_transpose(float *odata, f...
阅读全文
摘要:1.在计算机中,最适合进行数字加减运算的数字编码是____,最适合表示浮点数阶码的数字编码是______。2.如果主存容量为16M字节,且按字节编址,表示该主存地址至少应需要__位。3.中断响应时间是指_ ______从发出中断请求到进入中断处理所用的时间4.表达式a*(b+c)-d的后缀表达形式为...
阅读全文
摘要:1.在计算机中,最适合进行数字加减运算的数字编码是____,最适合表示浮点数阶码的数字编码是______。2.如果主存容量为16M字节,且按字节编址,表示该主存地址至少应需要__位。3.中断响应时间是指_ ______从发出中断请求到进入中断处理所用的时间4.表达式a...
阅读全文
摘要:加法代码参考了别人的博客#include #include //#include "kmeans.h" using namespace std; const int count = 1000; void generate_data(int *...
阅读全文
摘要:加法代码参考了别人的博客#include #include //#include "kmeans.h" using namespace std; const int count = 1000; void generate_data(int *arr) { for...
阅读全文
摘要:先下载源代码https://github.com/gnuplot/gnuplotunzip解压以后mkdir gnuplotcd gnuplot-master/./prepare./configure --prefix=gnuplot安装路径makemake installsudo vi /etc/...
阅读全文
摘要:先下载源代码https://github.com/gnuplot/gnuplotunzip解压以后mkdir gnuplotcd gnuplot-master/./prepare./configure --prefix=gnuplot安装路径makemake inst...
阅读全文
摘要:写了根据闫石老师的数字电路基础写了一个一个半加器半加器代码为module half_adder(A,B,S,CO); input A,B; output S,CO; assign S = A^B; assign CO = A&B;endmodule测试代码为`timescale 1ns/...
阅读全文
摘要:写了根据闫石老师的数字电路基础写了一个一个半加器半加器代码为module half_adder(A,B,S,CO); input A,B; output S,CO; assign S = A^B; assign CO = A&B;endmodule测试代码...
阅读全文
摘要:本博客将看C++并行编程的例子1. 线程进程原理线程是轻量级的进程,一个进程可以拥有多个线程。编译多线程程序加入 g++ -lphread2. openmp库加速2.1 openmp库加速配置及hello,world事实上有个openmp库,可以实现单台cpu的加速Windows下使用vsConf...
阅读全文
摘要:本博客将看C++并行编程的例子1. 线程进程原理线程是轻量级的进程,一个进程可以拥有多个线程。编译多线程程序加入 g++ -lphread2. openmp库加速2.1 openmp库加速配置及hello,world事实上有个openmp库,可以实现单台cpu的加速...
阅读全文
浙公网安备 33010602011771号