Skip to content

Add C implementation with Vulkan acceleration#44

Open
Benjamin-Wegener wants to merge 9 commits into
movehand:masterfrom
Benjamin-Wegener:master
Open

Add C implementation with Vulkan acceleration#44
Benjamin-Wegener wants to merge 9 commits into
movehand:masterfrom
Benjamin-Wegener:master

Conversation

@Benjamin-Wegener

Copy link
Copy Markdown

This update adds a high-performance C implementation of the RAISR algorithm with optional Vulkan GPU acceleration. The implementation includes:

  • A C version of the RAISR algorithm optimized for speed
  • Automatic Vulkan detection and utilization when available
  • CPU fallback for systems without Vulkan support
  • Multithreaded processing for improved performance
  • JPEG input/output support with YCbCr color space processing
  • A Python script to convert trained filters to binary format for C implementation
    The C implementation follows the same algorithm as the Python version but provides significant performance improvements, especially when Vulkan acceleration is available. It maintains compatibility with the trained filters from the Python implementation.

Updated README to document the new C implementation and usage instructions.

used for vulkan implementation
Added Vulkan description
for vulkan implementation
for vulkan implementation
- Add input format note (JPEG) and output format note (PNG) in README.
- Expand C implementation section with command-line options and instructions.
- Add troubleshooting section for common issues.
- Update Makefile to support PNG output and improve Vulkan detection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant