diff --git a/bin/gpupunk b/bin/gpupunk index 8280c82..1e5693f 100755 --- a/bin/gpupunk +++ b/bin/gpupunk @@ -22,6 +22,10 @@ export GPUPUNK_WITH_HPCRUN=0 export GPUPUNK_VERBOSE=0 # filter cubins export GPUPUNK_CUBIN_FILTER=1 + +export SANITIZER_DISABLE_PARALLEL_LAUNCHES=1 + + usage() { cat < mbedtls install path is " $B + +export LD_LIBRARY_PATH=$B/lib:${GPUTRIGGER_PATH}:${REDSHOW_PATH}/lib:$LD_LIBRARY_PATH export PATH=${GPUPUNK_PATH}/bin/:${DRCCTPROF_PATH}/bin:$PATH diff --git a/cubin_filter/CMakeLists.txt b/cubin_filter/CMakeLists.txt index 90e5635..86ac631 100644 --- a/cubin_filter/CMakeLists.txt +++ b/cubin_filter/CMakeLists.txt @@ -34,12 +34,10 @@ else () endif () enable_language(CUDA) -include(FindLibElf.cmake) + include(FindMbedTLS.cmake) message(INFO "==========") -message(STATUS ${LIBELF_INCLUDE_DIRS}) -message(STATUS ${LIBELF_LIBRARIES_PATH}) message(STATUS ${MBEDTLS_INCLUDE_DIRS}) message(STATUS ${MBEDCRYPTO_LIBRARY_PATH}) @@ -49,7 +47,6 @@ include_directories(${SANITIZER_PATH}/include/ ${CUDAToolkit_TARGET_DIR}/include/ ${CMAKE_CURRENT_LIST_DIR}/include/ ${CMAKE_CURRENT_LIST_DIR}/src/ - ${LIBELF_INCLUDE_DIRS} ${MBEDTLS_INCLUDE_DIRS} ) message(INFO ${SANITIZER_PATH} ${CUDAToolkit_NVCC_EXECUTABLE}) @@ -60,7 +57,7 @@ file(GLOB cubin_filter_head CONFIGURE_DEPENDS "${CMAKE_CURRENT_LIST_DIR}/*.h" ) -add_link_options(-L${LIBELF_LIBRARIES_PATH} -L${MBEDTLS_LIBRARY_PATH} -L${MBEDCRYPTO_LIBRARY_PATH}) +add_link_options(-L${MBEDTLS_LIBRARY_PATH} -L${MBEDCRYPTO_LIBRARY_PATH}) message(INFO ${mbedcrypto_lib}) diff --git a/cubin_filter/crypto-hash.c b/cubin_filter/crypto-hash.c index fb1c7ce..b5648c0 100644 --- a/cubin_filter/crypto-hash.c +++ b/cubin_filter/crypto-hash.c @@ -122,7 +122,7 @@ crypto_hash_compute memset(hash, 0, hash_length); // compute an MD5 hash of input - mbedtls_md5_ret(input, input_length, hash); + mbedtls_md5(input, input_length, hash); return 0; } diff --git a/gpupunk_samples b/gpupunk_samples index f1175bb..70ec35d 160000 --- a/gpupunk_samples +++ b/gpupunk_samples @@ -1 +1 @@ -Subproject commit f1175bb892bfdb0f2ef68d4a26df3c49cd0d968f +Subproject commit 70ec35d325d04409ca6697fa18bb6715caf2f741 diff --git a/gputrigger b/gputrigger index 26aad67..5bb8fb0 160000 --- a/gputrigger +++ b/gputrigger @@ -1 +1 @@ -Subproject commit 26aad674cfadab59241eea09ceff02d751ca471c +Subproject commit 5bb8fb00ca3b58a198da5110e51b4dcf2fab301e