ROCm / rocm-cmake

CMake modules used within the ROCm libraries
https://rocm.docs.amd.com/projects/ROCmCMakeBuildTools/en/latest/
MIT License
62 stars 43 forks source link

Fix issues when using rocm test module from a subdirectory #129

Closed pfultz2 closed 1 year ago

pfultz2 commented 1 year ago

The rocm_defer workaround actually called the function for each subdirectory which causes an error in cmake when generating the same file multiple times. Also, updated the tests to use a subdirectory to more closely match how this would be implemented.