* Add cmake file formatting to CI
- Using gersemi - https://github.com/BlankSpruce/gersemi
* Fix failures in CMake linting
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* hiprtc: vs: copy additional libraries to output directory
Besides hiprtc*.dll, hiprtc-builtins*.dll and amd_comgr*.dll is also required.
In this commit, the PostBuildAction is also replaced by a Content statement. This
provides more robustness in the build system, as using this method there will be
no race conditions if two targets copy the same file to the output directory.
* Resolve "Multi-GPU error occured while hip_opengl_interop sample application is executed"
* vs: copy dynamic libraries for other examples as well
If a library links with a dynamic library, the corresponding dll file
should be placed in the output directory so that the library can be found
even if the ROCm binary path is not added to the system PATH. The solution
used is the same as that used for the HIPRTC example.
* cmake: disable static_host_library on windows
The HIP SDK does at this time not ship with a binary for CMAKE_AR, which is required
to compile this example.
* ci: do not rely on PATH
Removing the ROCm binary path from the global PATH allows us to check
that the examples do not depend on this. The CMakeFile for each example
does currently not copy the libraries to the build directory, and so
for running the tests using CTest the library path is still required.
* Resolve "cmake: windows + nvidia does not pass hip includes to include list"
* Resolve "cmake: make examples use install()"
* Resolve "hipBLAS examples' Makefiles do not work with CUDA"
* cuda dockerfile: replace ARG with GID
* Resolve "Windows CI with Nvidia"
* Fix VS copied dependencies for HIP
---------
Co-authored-by: Nara Prasetya <nara@streamhpc.com>
Co-authored-by: Máté Ferenc Nagy-Egri <mate@streamhpc.com>
* add cmake build instructions for windows
* Add bit extract example
* Resolve "Multi GPU data transfer example"
* Resolve "Vulkan interop example"
* fix bit extract typo
* Resolve "OpenGL interop example"
* Add module API example
* enable -Wall -Wextra -Werror in cmake in ci
* Resolve "CMake don't throw error when building examples and certain libraries are missing."
* Device Globals example
* add moving average example
* Resolve "Static library example"
* fix missing opengl cmake check
* Resolve "Inline assembly / GPU arch example"
* revert to old msvc project file structure
* add hip basic texture management example
* normalize line endings
* remove hiprtc from bitextract
* Resolve "Cooperative groups example"
* Fix GUIDs
* Resolve "Floyd-Warshall example"
Co-authored-by: Nol Moonen <nol@streamhpc.com>
Co-authored-by: Beatriz Navidad Vilches <beatriz@streamhpc.com>
Co-authored-by: Robin Voetter <robin@streamhpc.com>
Co-authored-by: Vince van Heertum <vince@streamhpc.com>
* HIP: Hello World example and HIP runtime structure
* Changed "Used API surface" to "Demonstrated API Calls"
* Resolve "Device query example"
* HIP Cookbook - Vector add (saxpy) example
* HIP Cookbook - Matrix multiplication example
* Disable the hello world example on windows
* Add instructions on how to build with Visual Studio 19
* Resolve "Occupancy example"
* Resolve "Add .cu CUDA files in code format"
* Resolve "Hipify (square) example"
* Resolve "Dynamic shared memory example"
* add missing ignore to dynamic shared example
* Renamed Cookbook to HIP-Basic
Co-authored-by: Nol Moonen <nol@streamhpc.com>
Co-authored-by: Gergely Mészáros <gergely@streamhpc.com>
Co-authored-by: Bibrak Qamar <bibrak@streamhpc.com>
Co-authored-by: Robin Voetter <robin@streamhpc.com>