Open DaverSVK opened 4 months ago
I resolved it. Just my enviroment variebles were all over the place and i needed to add them directly into navi10/22.rocblas.sh IDK why source env.sh does not worked as expected. Anyway It ended up here:
/opt/rocm/bin/hipcc -DTENSILE_DEFAULT_SERIALIZATION -DTENSILE_MSGPACK=1 -DTENSILE_USE_HIP -DUSE_PROF_API=1 -D__HIP_PLATFORM_AMD__=1 -I/home/work/rocm-build/build/rocblas/virtualenv/lib/python3.8/site-packages/Tensile/Source/lib/include -D__HIP_HCC_COMPAT_MODE__=1 -O3 -DNDEBUG -std=c++14 -fPIC -Wno-unused-result -x hip -MD -MT Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/HipHardware.cpp.o -MF Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/HipHardware.cpp.o.d -o Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/HipHardware.cpp.o -c /home/work/rocm-build/build/rocblas/virtualenv/lib/python3.8/site-packages/Tensile/Source/lib/source/hip/HipHardware.cpp
/home/work/rocm-build/build/rocblas/virtualenv/lib/python3.8/site-packages/Tensile/Source/lib/source/hip/HipHardware.cpp:36:58: error: no member named 'gcnArch' in 'hipDeviceProp_tR0600'
36 | : AMDGPU(static_cast<AMDGPU::Processor>(prop.gcnArch),
| ~~~~ ^
1 error generated when compiling for gfx1010.
For the time being i will do my best to get to the end succesfully, but help is welcome
Hi i tried to exactly point out every step i made and how i got here i followed the guide but as some things were not very clear i used some of my steps. I would be gratefull for every help. Im doing this because of matrix calculations for GPU and as it is clear 5700 does not have official suport due to its hardware (as far as i know)
Environment
What is the expected behavior
What actually happens
-
How to reproduce
$ git status $ git pull
CXX=$ROCM_INSTALL_DIR/bin/hipcc cmake \ -DCMAKE_TOOLCHAIN_FILE=toolchain-linux.cmake \ -DAMDGPU_TARGETS=$AMDGPU_TARGETS \ -DROCM_PATH=$ROCM_INSTALL_DIR \ -DTensile_LOGIC=asm_full \ -DTensile_ARCHITECTURE=gfx1010 \ -DTensile_CODE_OBJECT_VERSION=V3 \ -DTensile_SEPARATE_ARCHITECTURES=OFF \ -DTensile_MERGE_ARCHITECTURES=ON \ #Added -DTensile_LAZY_LIBRARY_LOADING=OFF \ #Added -DCMAKE_BUILD_TYPE=Release \ -DTensile_TEST_LOCAL_PATH=$ROCM_GIT_DIR/Tensile \ -DTensile_LIBRARY_FORMAT=msgpack \ -DRUN_HEADER_TESTING=OFF \ -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=ON \ -DCMAKE_INSTALL_PREFIX=rocblas-install \ -DCPACK_SET_DESTDIR=OFF \ -DCPACK_PACKAGING_INSTALL_PREFIX=$ROCM_INSTALL_DIR \ -DCPACK_GENERATOR=DEB \ -G Ninja \ $ROCM_GIT_DIR/rocBLAS