30 Oct 2022 |
Madoura | Bottom of the post, see the log. Bad definitions or something. | 07:55:55 |
Madoura | With host, etc | 07:56:00 |
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 |