rocshmem_config.h has a different include path when installed and built-dir (#186)

* rocshmem_config.h needs to be in a similar directory structure for
includes to work when building testers in build, and from an installed
library

* Do not change installed rocshmem.hpp
This commit is contained in:
Aurelien Bouteiller
2025-07-02 16:51:38 -04:00
committed by GitHub
parent 6dba253890
commit 63a79892b2
27 changed files with 30 additions and 29 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
#ifndef LIBRARY_SRC_MEMORY_HEAP_TYPE_HPP_
#define LIBRARY_SRC_MEMORY_HEAP_TYPE_HPP_
#include "rocshmem_config.h" // NOLINT(build/include_subdir)
#include "rocshmem/rocshmem_config.h" // NOLINT(build/include_subdir)
#include "hip_allocator.hpp"
/**
+1 -1
View File
@@ -31,7 +31,7 @@
* @brief Contains HIP wrapper class for memory allocator
*/
#include "rocshmem_config.h" // NOLINT(build/include_subdir)
#include "rocshmem/rocshmem_config.h" // NOLINT(build/include_subdir)
#include "memory_allocator.hpp"
#include <hip/hip_runtime_api.h>