File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
hpctestlib/microbenchmarks/gpu Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RSMI_ROOT?=/opt/rocm/rocm_smi
44all: dgemm sgemm
55
66dgemm:
7- hipcc -O3 xgemm.cu -o $@.x -DTARGET_HIP -DGEMM_TYPE=double -DXBLAS_GEMM=XblasDgemm ${CXXFLAGS} -std=c++14 -I${ROCM_ROOT} -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas
7+ hipcc -O3 xgemm.cu -o $@.x -DTARGET_HIP -DGEMM_TYPE=double -DXBLAS_GEMM=XblasDgemm ${CXXFLAGS} -std=c++14 -I${ROCM_ROOT}/include/rocblas/ -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -lpthread
88
99sgemm:
10- hipcc -O3 xgemm.cu -o $@.x -DTARGET_HIP -DGEMM_TYPE=float -DXBLAS_GEMM=XblasSgemm ${CXXFLAGS} -std=c++14 -I${ROCM_ROOT} -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas
10+ hipcc -O3 xgemm.cu -o $@.x -DTARGET_HIP -DGEMM_TYPE=float -DXBLAS_GEMM=XblasSgemm ${CXXFLAGS} -std=c++14 -I${ROCM_ROOT}/include/rocblas/ -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -lpthread
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void Smi::setCpuAffinity(int id)
3333{
3434 checkGpuIdIsSensible (id);
3535
36- uint32_t numa_node;
36+ int32_t numa_node;
3737 rsmiCheck ( rsmi_topo_numa_affinity_get ( id, &numa_node) );
3838 numa_run_on_node (numa_node);
3939}
Original file line number Diff line number Diff line change 11RSMI_ROOT?=/opt/rocm/rocm_smi
2+ ROCM_ROOT?=/opt/rocm/
23
34gpu_burn:
4- hipcc -O3 $@.cu -o $@.x -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -pthreads
5+ hipcc -O3 $@.cu -o $@.x -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${ROCM_ROOT}/include/rocblas/ -I${ RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -pthreads
You can’t perform that action at this time.
0 commit comments