SWDEV-334508 - Testing & fix for HIP samples on Linux and Windows. (#2711)

Change-Id: I6edc0d6dc7ce8f2223381baddacbc5063b6d4983
This commit is contained in:
ROCm CI Service Account
2022-06-02 17:00:05 +05:30
committed by GitHub
parent 3ee51fcf98
commit 5e42fbedfd
28 changed files with 95 additions and 31 deletions
+3 -1
View File
@@ -17,7 +17,9 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
ifeq ($(OS),Windows_NT)
$(error Makefile is not supported on windows platform. Please use cmake instead to build sample.)
endif
ROCM_PATH?= $(wildcard /opt/rocm/)
HIP_PATH?= $(wildcard $(ROCM_PATH)/hip)
ifeq (,$(HIP_PATH))