P4 to Git Change 1410638 by lmoriche@lmoriche_palamida on 2017/05/17 11:34:07

SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Add FindROCR.cmake, and use find_package() to locate the ROCR

Affected files ...

... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#2 edit
This commit is contained in:
foreman
2017-05-17 11:50:44 -04:00
rodzic 85b83e06cf
commit 83937abeae
+2 -2
Wyświetl plik
@@ -8,8 +8,8 @@ find_path(ROCR_INCLUDE_DIR hsa.h
HINTS /opt/rocm/include /opt/rocm/hsa/include
PATH_SUFFIXES hsa)
find_library(ROCR_LIBRARY libhsa-runtime64
HINTS /opt/rocm/lib /opt/rocm/hsa/lib)
find_library(ROCR_LIBRARY hsa-runtime64
HINTS /opt/rocm/lib /opt/rocm/hsa/lib)
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set ROCR_FOUND to TRUE