30 Oct 2022 |
Madoura | * With _host_*, etc | 07:56:11 |
Madoura | * With __host__, etc | 07:56:23 |
Madoura | [ 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 |
Madoura | * [ 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 |
pie_ | could be anything | 07:57:49 |
pie_ | usual stuff: youve checked earlier parts for errors, imssing libraries, etc? | 07:57:59 |
Madoura | Yup. I suspend it might be an issue with hip or rocm_llvm | 07:58:21 |
Madoura | but just not finding what | 07:58:25 |
Madoura | * Yup. I suspect it might be an issue with hip or rocm_llvm | 07:58:37 |
pie_ | ok so rocm_llvm is a custom llvm yes? | 07:58:39 |
Madoura | it's in nixpkgs, but yes | 07:58:47 |
pie_ | I have no idea how that part of the nix infra works but apparently the stdenv compiler stuff is kind of complicated | 07:58:56 |
pie_ | well its good that its already in nixpkgs | 07:59:04 |
pie_ | I dont know if for something relatively obsruce like rocm whether that means it should work or not | 07:59:29 |
pie_ | youve tried google? | 07:59:38 |
pie_ | wait | 07:59:55 |
pie_ | wait | 07:59:56 |
pie_ | wait | 07:59:57 |
Madoura | Yeah, can't find anything related. | 08:00:00 |
pie_ | is it just the path | 08:00:07 |
pie_ | or is it trying to pull this from gcc | 08:00:12 |
pie_ | becaues thats probably yourproblem right there if it is | 08:00:20 |
Madoura | That's what I thought too, it could possibly be toolchain mixing. | 08:00:26 |
pie_ | its almost definiteƩy | 08:00:33 |
pie_ | * its almost definitely | 08:00:36 |
Madoura | That's something I have noooo idea how to fix. | 08:00:40 |
pie_ | I think I managed that at some point before but I dont remember how | 08:00:51 |
pie_ | well, for starters we need to figure out where its coming from | 08:01:00 |
pie_ | maybe try nix why-depends on the derivations? | 08:01:06 |
Madoura | Good idea. Haven't used that before, nix why --depends ? | 08:01:35 |