dcu2dcu专题

HIP技术测试2-CPU2DCU和DCU2DCU带宽测试

HIP技术测试2-CPU2DCU和DCU2DCU带宽测试 1.节点内CPU2DCU带宽测试 #include <stdio.h> #include <hip/hip_runtime.h> #define NSTREAM 2 #define BDIM 512 void initialData(float *ip, int size) {int i;for (i = 0; i < size;