DTolm / VkFFT

Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library
MIT License
1.52k stars 91 forks source link

HIP platform detection #170

Closed DejvBayer closed 6 months ago

DejvBayer commented 6 months ago

This pull request moves platform specific parameters setup out of each backend's scope so the code is not duplicated. Also for HIP backend, a detection if the target platform is AMD or NVIDIA is added and the vendorID is set properly.

This pull request should close #169.

I am not sure if those are these changes are sufficient to solve this issue.