!kFJOpVCFYFzxqjpJxm:nixos.org

Empty Room

60 Members
19 Servers

Load older messages


SenderMessageTime
30 Oct 2022
@madouura:matrix.orgMadoura The final package list is in rocblas/default.nix, so you don't need all of the ones in that issue. 07:52:10
@jcie74:matrix.orgpie_Im kind of elbow deep in my own thing right now but maybe you can try that?07:52:37
@jcie74:matrix.orgpie_unless it's easy for me to run this build?07:52:50
@jcie74:matrix.orgpie_Just to be clear I have no idea what any of this is07:53:26
@madouura:matrix.orgMadouraIf you have at least 8GB of memory and ensure -DAMDGPU_TARGETS is something like 1030, should be easy to just clone my repo and build it.07:53:37
@madouura:matrix.orgMadouraThat's to make it quicker and not take up like 40-50gb of your memoey.07:53:58
@madouura:matrix.orgMadoura * That's to make it quicker and not take up like 40-50gb of your memory.07:54:05
@jcie74:matrix.orgpie_Im glad if I can keep 8 gigs free haha07:54:10
@jcie74:matrix.orgpie_so what are these .co and .dat files anyway and what is supposed to generate them?07:54:23
@madouura:matrix.orgMadouraAhh we already figured that you. From what I understand they're just build artifacts by tensile of different gpu archs/what's needed for them.07:54:52
@madouura:matrix.orgMadoura * Ahh we already figured that out. From what I understand they're just build artifacts by tensile of different gpu archs/what's needed for them.07:55:04
@jcie74:matrix.orgpie_aha, so whats the current problme07:55:18
@jcie74:matrix.orgpie_ * aha, so whats the current problem07:55:20
@madouura:matrix.orgMadouraBottom of the post, see the log. Bad definitions or something.07:55:55
@madouura:matrix.orgMadoura With host, etc 07:56:00
@madouura:matrix.orgMadoura * With _host_*, etc 07:56:11
@madouura:matrix.orgMadoura * With __host__, etc 07:56:23
@madouura:matrix.orgMadoura [ 22%] Building CXX object library/src/CMakeFiles/rocblas.dir/blas3/rocblas_trsm.cpp.o In file included from /build/source/library/src/blas_ex/rocblas_nrm2_ex.cpp:23: In file included from /build/source/library/src/blas_ex/rocblas_nrm2_ex.hpp:25: /build/source/library/src/blas_ex/../blas1/rocblas_nrm2.hpp:30:17: error: reference to __host__ function 'norm<float>' in __host__ __device__ function return std::norm(A); ^ /build/source/library/src/blas_ex/../blas1/rocblas_nrm2.hpp:44:17: note: called by 'operator()<float>' return {fetch_abs2(x)}; ^ /build/source/library/src/blas_ex/../blas1/reduction_strided_batched.hpp:98:15: note: called by 'rocblas_reduction_strided_batched_kernel_part1<512, rocblas_fetch_nrm2<float>, const float *const *, float>' sum = FETCH{}(x[tid * incx]); ^ /nix/store/acbklvmaxi32lj3f7k1m1y00017f89ix-gcc-11.3.0/include/c++/11.3.0/complex:1870:5: note: 'norm<float>' declared here 07:57:02
@madouura:matrix.orgMadoura *
[ 22%] Building CXX object library/src/CMakeFiles/rocblas.dir/blas3/rocblas_trsm.cpp.o In file included from /build/source/library/src/blas_ex/rocblas_nrm2_ex.cpp:23: In file included from /build/source/library/src/blas_ex/rocblas_nrm2_ex.hpp:25: /build/source/library/src/blas_ex/../blas1/rocblas_nrm2.hpp:30:17: error: reference to __host__ function 'norm<float>' in __host__ __device__ function return std::norm(A); ^ /build/source/library/src/blas_ex/../blas1/rocblas_nrm2.hpp:44:17: note: called by 'operator()<float>' return {fetch_abs2(x)}; ^ /build/source/library/src/blas_ex/../blas1/reduction_strided_batched.hpp:98:15: note: called by 'rocblas_reduction_strided_batched_kernel_part1<512, rocblas_fetch_nrm2<float>, const float *const *, float>' sum = FETCH{}(x[tid * incx]); ^ /nix/store/acbklvmaxi32lj3f7k1m1y00017f89ix-gcc-11.3.0/include/c++/11.3.0/complex:1870:5: note: 'norm<float>' declared here
07:57:46
@jcie74:matrix.orgpie_could be anything07:57:49
@jcie74:matrix.orgpie_usual stuff: youve checked earlier parts for errors, imssing libraries, etc?07:57:59
@madouura:matrix.orgMadouraYup. I suspend it might be an issue with hip or rocm_llvm07:58:21
@madouura:matrix.orgMadourabut just not finding what07:58:25
@madouura:matrix.orgMadoura * Yup. I suspect it might be an issue with hip or rocm_llvm 07:58:37
@jcie74:matrix.orgpie_ok so rocm_llvm is a custom llvm yes?07:58:39
@madouura:matrix.orgMadourait's in nixpkgs, but yes07:58:47
@jcie74:matrix.orgpie_I have no idea how that part of the nix infra works but apparently the stdenv compiler stuff is kind of complicated07:58:56
@jcie74:matrix.orgpie_well its good that its already in nixpkgs07:59:04
@jcie74:matrix.orgpie_I dont know if for something relatively obsruce like rocm whether that means it should work or not07:59:29
@jcie74:matrix.orgpie_youve tried google?07:59:38

Show newer messages


Back to Room ListRoom Version: 9