1.cpu相关
限制cpu速度的最大因素是内存传输速度,称为冯诺依曼瓶颈
为了解决内存的问题使用缓存的方式,一级、二级、三级缓存。一级缓存最快,达到或接近处理器时钟速度;二级缓存次之三级最慢,缓存占据了cpu30%的空间面积
预取,将可能用到的互数据预读放到缓存区
多线程技术,当一个线程遇到处于数据等待的时候,切换到其他准备好的线程执行
2.gpu相关
2.1gpu结构图
2.1.gpu参数
设备名称:GeForce GT 755M
全局可用内存:1024MB(totalGlobalMem)
每线程块可用共享内存:48KB(sharedMemPerBlock)
每SM可用共享内存:48KB(sharedMemPerMultiprocessor)
每SM可用32位寄存器个数:65536(regsPerMultiprocessor)
每线程块可用32位寄存器个数:65536(regsPerBlock)
线程束中线程容量:32(warpSize)
最大内存复制步长:2147483647(memPitch)
每线程块最大线程数:1024(maxThreadsPerBlock)
线程块维度的最大值:1024,1024,64(maxThreadsDim)
网格维度的最大值:2147483647,65535,65535(maxGridSize)
时钟频率:1.034737GHZ(clockRate)
可用常量内存:64KB(totalConstMem)
主计算能力:3(major)
次计算能力:0(minor)
纹理对齐要求:false(textureAlignment)
内存峰值时钟频率:2.384186GHZ(memoryClockRate)
全局内存总线宽度:128(memoryBusWidth)
支持一级缓存:true(localL1CacheSupported)
二级缓存大小:256KB(l2CacheSize)
处理器簇数量:2(multiProcessorCount)
每个处理器簇最大驻留线程数:2048(maxThreadsPerMultiProcessor)
处理器簇数量Multiprocessors( 2), 每个Sm拥有的核心数CUDA Cores/SP(192),总的CUDA Cores(384)
CUDA Capability Major/Minor version number: 3.0
Total amount of global memory: 1024 MBytes (1073741824 bytes)
( 2) Multiprocessors, (192) CUDA Cores/MP: 384 CUDA Cores
GPU Max Clock rate: 1085 MHz (1.09 GHz)
Memory Clock rate: 2500 Mhz
Memory Bus Width: 128-bit
L2 Cache Size: 262144 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 1 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: No
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0