Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.16 KB

ZLUDA.md

File metadata and controls

35 lines (26 loc) · 1.16 KB

ZLUDA support

AMD GPUs can currently run native CUDA code using ZLUDA, which includes GPUJPEG.

To enable the CUDA support on AMD devices, follow the instructions described on the linked page. It is sufficient to download the binary build (at least as for the version 3) and use as described.

Below follow the platform specific notes.

Linux

To run the CUDA code successfully, you will need to have:

  1. AMD drivers
  2. package hip-runtime-amd (according to ZLUDA documentation, version 5.7.x is currently required, not 6), which may be installed according this instructions
  3. LD_LIBRARY_PATH environment variable containing path to ZLUDA library

Windows

  1. current AMD drivers
  2. ZLUDA build
  3. run the executable (eg. gpujpegtool) with zluda.exe

Note: Windows antivirus sometimes tends to remove the zluda.exe executable when extracted the downloaded ZIP. This can be easilly spotted when there are just the DLLs extracted.