Anton Smirnov

Results 213 comments of Anton Smirnov

Actually for the CPU I just needed to run Julia with one thread (as opposed to `auto`): [cpu-error.txt](https://github.com/EnzymeAD/Enzyme.jl/files/8928992/cpu-error.txt)

Yikes! That was indeed the problem :)

I've updated the MWE. Now there is no errors, but when Julia is started with more than one thread on CPU it stalls. If you set to start Julia with...

Hi. Related to this issue, is there currently a way to compute `norm` over a certain dimension? For example, for `(3, N)` array computing norm over second dimension, resulting in...

Running `LD_DEBUG=all julia -e "Libc.Libdl.dlopen(\"./librocblas.so\")"` gives a little bit more info: https://drive.google.com/file/d/1qqOaUzqtnPjNcAitHX9nU7ajJwtys-D7/view?usp=sharing There are couple errors like this, although I'm not sure how important they are: ` 212944: /home/asmirnov/julia-1.7.3/bin/../lib/julia/libopenblas64_.so: error:...

Here's also readelf output. ``` $ readelf -d librocblas.so Dynamic section at offset 0x1aae680 contains 37 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]...

`.init` section for rocblas 4.2 (binarybuilder): [download](https://drive.google.com/file/d/1zNaR63uN4EPcMlVsE2c4X_WFrXKQCnZv/view?usp=sharing) ``` asmirnov@amdjl:~/code/rocm-bb/build/x86_64-linux-gnu-cxx11/5LJl6hOi/destdir/rocblas/lib$ readelf -x .init librocblas.so Hex dump of section '.init': 0x00041000 4883ec08 e89b6100 00e8ad61 00004883 H.....a....a..H. 0x00041010 c408c3 ... ``` `.init_array` section...

For some reason, when dumping `.init_array` section via objdump gives empty results

Backtrace of `gdb --args julia -e "Libc.Libdl.dlopen(\"./librocblas.so\")"` from the binary builder: ``` (gdb) bt full #0 0xffffffffffffffff in ?? () No symbol table info available. #1 0x00007ffff7fc947e in call_init (l=,...