• S
    Demostration of cmake refine for HIP support. · 45c988d8
    sabreshao 提交于
    1. Add option WITH_AMD_GPU.
    2. Add cmake/hip.cmake for HIP toolchain.
    3. Some external module such as eigen may need HIP port.
    4. Add macro hip_library/hip_binary/hip_test to cmake/generic.cmake.
    5. Add one HIP source concat.hip.cu as an example. Each .cu may have its corresponding .hip.cu.
    45c988d8
generic.cmake 24.1 KB