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.
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.