Included code to calculate value of maxThreadsPerMultiprocessor property

Change-Id: Ie7cad7442f36a7163e715048de5a309febc28664


[ROCm/hip commit: 6e641df649]
This commit is contained in:
Rahul Garg
2016-06-23 22:22:58 +05:30
committed by Maneesh Gupta
parent 2429b1b35d
commit 552b44b196
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ if ($HIP_PLATFORM eq "hcc") {
$HIPLDFLAGS .= " -Wl,--defsym=_binary_kernel_spir_end=0 -Wl,--defsym=_binary_kernel_spir_start=0 -Wl,--defsym=_binary_kernel_cl_start=0 -Wl,--defsym=_binary_kernel_cl_end=0";
# Satisfy HCC dependencies
$HIPLDFLAGS .= " -lc++abi";
$HIPLDFLAGS .= " -L$HSA_PATH/lib -L$ROCM_PATH/lib -lhsa-runtime64 -lhc_am";
$HIPLDFLAGS .= " -L$HSA_PATH/lib -L$ROCM_PATH/lib -lhsa-runtime64 -lhc_am -lhsakmt";
# Add trace marker library:
# TODO - once we cleanly separate the HIP API headers from HIP library headers this logic should move to CMakebuild option - apps do not need to see the marker library.