only build tests and examples if user sets GPU_TARGETS (#1565)

This commit is contained in:
Illia Silin
2024-10-10 15:31:56 -07:00
committed by GitHub
parent 14c52befda
commit f46a9eee9d
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ Docker images are available on [DockerHub](https://hub.docker.com/r/rocm/composa
If you don't set `GPU_TARGETS` on the cmake command line, CK is built for all GPU targets
supported by the current compiler (this may take a long time).
Tests and examples will only get built if the GPU_TARGETS is set by the user on the cmake command line.
NOTE: If you try setting `GPU_TARGETS` to a list of architectures, the build will only work if the
architectures are similar, e.g., `gfx908;gfx90a`, or `gfx1100;gfx1101;gfx11012`. Otherwise, if you