30 Oct 2022 |
Madoura | The final package list is in rocblas/default.nix , so you don't need all of the ones in that issue. | 07:52:10 |
pie_ | Im kind of elbow deep in my own thing right now but maybe you can try that? | 07:52:37 |
pie_ | unless it's easy for me to run this build? | 07:52:50 |
pie_ | Just to be clear I have no idea what any of this is | 07:53:26 |
Madoura | If 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 |
Madoura | That's to make it quicker and not take up like 40-50gb of your memoey. | 07:53:58 |
Madoura | * That's to make it quicker and not take up like 40-50gb of your memory. | 07:54:05 |
pie_ | Im glad if I can keep 8 gigs free haha | 07:54:10 |
pie_ | so what are these .co and .dat files anyway and what is supposed to generate them? | 07:54:23 |
Madoura | Ahh 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 |
Madoura | * 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 |
pie_ | aha, so whats the current problme | 07:55:18 |
pie_ | * aha, so whats the current problem | 07:55:20 |
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 |