forked from intel/pti-gpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added OpenCL metrics query sample, update documentation, update SOFTWARE
- Loading branch information
1 parent
07c881d
commit 9023c9d
Showing
27 changed files
with
1,013 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.37.4 | ||
0.38.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
include("../../build_utils/CMakeLists.txt") | ||
SetRequiredCMakeVersion() | ||
cmake_minimum_required(VERSION ${REQUIRED_CMAKE_VERSION}) | ||
|
||
project(PTI_Samples_OpenCL_GPU_Query CXX) | ||
SetCompilerFlags() | ||
SetBuildType() | ||
|
||
# Tool Library | ||
|
||
add_library(clt_gpu_query SHARED | ||
"${PROJECT_SOURCE_DIR}/../../loader/init.cc" | ||
"${PROJECT_SOURCE_DIR}/../../utils/trace_guard.cc" | ||
tool.cc) | ||
target_include_directories(clt_gpu_query | ||
PRIVATE "${PROJECT_SOURCE_DIR}/../../utils") | ||
if(CMAKE_INCLUDE_PATH) | ||
target_include_directories(clt_gpu_query | ||
PUBLIC "${CMAKE_INCLUDE_PATH}") | ||
endif() | ||
|
||
FindOpenCLLibrary(clt_gpu_query) | ||
FindOpenCLHeaders(clt_gpu_query) | ||
|
||
GetOpenCLTracingHeaders(clt_gpu_query) | ||
|
||
GetMDHeaders(clt_gpu_query) | ||
CheckForMDLibrary(clt_gpu_query) | ||
|
||
# Loader | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTOOL_NAME=clt_gpu_query") | ||
add_executable(cl_gpu_query "${PROJECT_SOURCE_DIR}/../../loader/loader.cc") | ||
target_include_directories(cl_gpu_query | ||
PRIVATE "${PROJECT_SOURCE_DIR}/../../utils") | ||
if(UNIX) | ||
target_link_libraries(cl_gpu_query | ||
dl) | ||
endif() |
Oops, something went wrong.