niansa/tuxifan

Results 303 comments of niansa/tuxifan

``` /opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/bin/ld: CMakeFiles/Bot4All.dir/main.o: in function `std::atomic::exchange(async::coroutine_cfp, std::memory_order)': /opt/devkitpro/devkitARM/arm-none-eabi/include/c++/12.2.0/atomic:303: undefined reference to `__atomic_exchange_4' /opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/bin/ld: CMakeFiles/Bot4All.dir/main.o: in function `std::__atomic_base::fetch_sub(unsigned int, std::memory_order)': /opt/devkitpro/devkitARM/arm-none-eabi/include/c++/12.2.0/bits/atomic_base.h:628: undefined reference to `__atomic_fetch_sub_4' /opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/bin/ld: CMakeFiles/Bot4All.dir/main.o: in function `std::atomic::exchange(async::coroutine_cfp, std::memory_order)':...

Should be fairly easy with HIP

Works for me, but colors are weirdly off with SD XL plus fp16 fix: ![output](https://github.com/leejet/stable-diffusion.cpp/assets/20720267/853c6b3a-4ece-4bfd-9035-6822543821a7) ![output](https://github.com/leejet/stable-diffusion.cpp/assets/20720267/4fbd4843-d793-4fe5-bd97-fee63fcb0105)

> Try changing the image size to 1024x1024. SDXL is not suitable for generating images of size 512x512. Nope, still just as broken for me.

When connecting to the SWIO pin on the CH32V board, the CH32V turns on together with the Pico, despite nothing being connected to the `V` pins. So that concerns me.

I got it working eventually as PD1 seems to be the same as the SWIO pin on the CH32V board. But the PC doesn't advance, it's just stuck at 0.

Clang tells me putting it at the end of declarations is bad and I should just put it at the start of definitons. Apparently it's because specifically stuff like `weak`...

I would change other appearances of attributes in another PR if desired.

Sorry for the late reply. Saw this just now. GitHub notifications are kind of bugged for me. > FWIW @niansa has addressed my comments and none of them ultimately require...

Weak linkage sounds like an awesome solution to me!