Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPUJPEG fails on AMD with ZLUDA: named symbol not found #90

Closed
MartinPulec opened this issue Feb 14, 2024 · 2 comments
Closed

GPUJPEG fails on AMD with ZLUDA: named symbol not found #90

MartinPulec opened this issue Feb 14, 2024 · 2 comments

Comments

@MartinPulec
Copy link
Collaborator

GPUJPEG encode fails on AMD Radeon RX 7600 when run with ZLUDA with following error:

$ gpujpegtool -e -s 1920x1080 /dev/zero out.jpg
[GPUJPEG] [Error] /home/xpulec/gpujpeg-dev/src/gpujpeg_dct_gpu.cu (line 668): Quantization table memcpy failed: named symbol not found.
Failed to encode image [/dev/zero]!
@MartinPulec
Copy link
Collaborator Author

MartinPulec commented Feb 14, 2024

It is caused by this line.

Commenting the line out fixes the encode because particular asm instruction is inside the kernel that is run just for decompression (gpujpeg_idct_gpu_kernel).

Strangely, it doesn't seem that the problem is caused by the assembler in general, because setting GPUJPEG_IDCT_USE_ASM to 1 (enabling other asm code) while keeping the metioned line commented out still works (for the encode).

@MartinPulec
Copy link
Collaborator Author

Some problem with error "named symbol not found" already reported here although unsure if related.

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

No branches or pull requests

1 participant