Open junliume opened 2 months ago
The INSTANCES_ONLY build argument had been re-purposed about a year ago from "do not build tests and examples" to "build the library for all supported targets". As such, it is not compatible with the "GPU_TARGETS" build argument anymore.
If you want to continue using it in its old role, we just need to create a new build argument that would provide the current functionality of the INSTANCES_ONLY.
As discussed with @illsilin these lists need to be updated
composable_kernel/library/src/tensor_operation_instance/gpu/CMakeLists.txt at amd-develop · ROCm/composable_kernel (github.com)
However, if one uses:
-DINSTANCES_ONLY=ON
is overriding the target list todefault
Should we revisit the behavior of
INSTANCES_ONLY=ON
? This is not the first time when CK tries to differentiate betweenGPU_TARGETS
whileINSTANCES_ONLY=ON
gives us uninformed surprises.