Documentation + Miscellaneous Fixes (#36)
* Added documentation markdown source
* Replaced AARInternal with AMDResearch in URLs
* Renamed cpack artifact names
* Fix to testing and lulesh submodule checkout
* Docker updates
* CMake and CPack
- force CMAKE_INSTALL_LIBDIR to lib
- CPACK_DEBIAN_PACKAGE_RELEASE uses OMNITRACE_CPACK_SYSTEM_NAME
- CPACK_RPM_PACKAGE_RELEASE uses OMNITRACE_CPACK_SYSTEM_NAME
- Tweak LIBOMP_LIBRARY find in examples/openmp
- Tweak setup-env.sh.in
* Partial update of README
- status badges
- docs link
- removed install info (covered by docs)
* OMNITRACE_SAMPLING_CPUS setting
- enables control over which CPUs are sampled for frequency
* omnitrace exe updates
- exclude transaction clone, virtual thunk, non-virtual thunk
- module_function::start_address
- module_function::instructions
- verbosity > 0 encodes instructions into JSON
* Miscellaneous fixes
- relocate setup-env.sh.in
- add modulefile.in
- Updated README.md and source/docs/about.md
- cmake fix for libomp
- fix license in miscellaneous places
- dl.hpp and dl.cpp
* Update timemory and dyninst submodules
- timemory signals updates
- dyninst Movement-adhoc updates
* cmake format
[ROCm/rocprofiler-systems commit: 945f541965]
This commit is contained in:
committed by
GitHub
parent
4ddb8405ac
commit
127e30a4d7
@@ -57,7 +57,6 @@ Authors of the OpenMP code:
|
||||
|
||||
#include "../common/npb-CPP.hpp"
|
||||
#include "npbparams.hpp"
|
||||
#include "omp.h"
|
||||
|
||||
/*
|
||||
* ---------------------------------------------------------------------
|
||||
|
||||
@@ -12,12 +12,14 @@ add_executable(openmp-lu ${CMAKE_CURRENT_SOURCE_DIR}/LU/lu.cpp
|
||||
$<TARGET_OBJECTS:openmp-common>)
|
||||
|
||||
find_program(CLANGXX_EXECUTABLE NAMES clang++)
|
||||
if(CLANGXX_EXECUTABLE)
|
||||
find_library(LIBOMP_LIBRARY
|
||||
NAMES omp ${CMAKE_SHARED_LIBRARY_PREFIX}omp${CMAKE_SHARED_LIBRARY_SUFFIX}.5)
|
||||
if(CLANGXX_EXECUTABLE AND LIBOMP_LIBRARY)
|
||||
target_compile_options(openmp-common PUBLIC -W -Wall -fopenmp=libomp)
|
||||
target_compile_options(openmp-cg PRIVATE -W -Wall -fopenmp=libomp)
|
||||
target_link_libraries(openmp-cg PRIVATE omp)
|
||||
target_link_libraries(openmp-cg PRIVATE ${LIBOMP_LIBRARY})
|
||||
target_compile_options(openmp-lu PRIVATE -W -Wall -fopenmp=libomp)
|
||||
target_link_libraries(openmp-lu PRIVATE omp)
|
||||
target_link_libraries(openmp-lu PRIVATE ${LIBOMP_LIBRARY})
|
||||
omnitrace_custom_compilation(COMPILER ${CLANGXX_EXECUTABLE} TARGET openmp-common)
|
||||
omnitrace_custom_compilation(COMPILER ${CLANGXX_EXECUTABLE} TARGET openmp-cg)
|
||||
omnitrace_custom_compilation(COMPILER ${CLANGXX_EXECUTABLE} TARGET openmp-lu)
|
||||
|
||||
@@ -59,7 +59,6 @@ Authors of the OpenMP code:
|
||||
|
||||
#include "../common/npb-CPP.hpp"
|
||||
#include "npbparams.hpp"
|
||||
#include "omp.h"
|
||||
|
||||
/*
|
||||
* ---------------------------------------------------------------------
|
||||
@@ -2095,8 +2094,8 @@ read_input()
|
||||
* ---------------------------------------------------------------------
|
||||
*/
|
||||
FILE* fp;
|
||||
int avoid_warning;
|
||||
if((fp = fopen("inputlu.data", "r")) != NULL)
|
||||
int avoid_warning = 0;
|
||||
if((fp = fopen("inputlu.data", "r")) != nullptr)
|
||||
{
|
||||
printf("Reading from input file inputlu.data\n");
|
||||
while(fgetc(fp) != '\n')
|
||||
@@ -2156,6 +2155,7 @@ read_input()
|
||||
ny0 = ISIZ2;
|
||||
nz0 = ISIZ3;
|
||||
}
|
||||
(void) avoid_warning;
|
||||
/*
|
||||
* ---------------------------------------------------------------------
|
||||
* check problem size
|
||||
|
||||
Reference in New Issue
Block a user