Skip to content

Commit

Permalink
refactor: updated readme and examples cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
paolotron committed Feb 16, 2022
1 parent 77cc23b commit 041ae5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Here's a list of the main requested features:
| algorithm | evidence | deterministic nodes | multi-threading | GPGPU-opencl | GPGPU - CUDA |
|:------------------------------:|--------------|-----------------------|-------------------|---------------|--------------|
| gibbs sampling | ✓ | * | ✓ | | |
| likelihood weighting | ✓ | ✓ | ✓ | | |
| likelihood weighting | ✓ | ✓ | ✓ | | ✓ |
| logic sampling | ✓ | ✓ | | ✓ | ✓ |
| rejection sampling | ✓ | ✓ | ✓ | | |
| adaptive importance sampling | ✓ | ✓ | ✓ | ✓ | |
Expand All @@ -40,6 +40,8 @@ Here's a list of the main requested features:
* ocl-icd-opencl
* mesa-opencl-icd

In order to use the cuda algorithms the system must be cuda compatible and the relative cuda toolkit must be installed.

Under Linux, you can install the required dependencies using the provided script [install_dependencies.sh](scripts/install_dependencies.sh) as follows
```bash
cd scripts/
Expand Down
10 changes: 5 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG main
GIT_TAG e2239ee6043f73722e7aa812a459f54a28552929 # release-1.11.0
)

if (WIN32)
Expand All @@ -23,10 +23,10 @@ endif()


macro(add_gtest name)
add_executable(${name}_test ${name}_test.cpp)
set_target_properties(${name}_test PROPERTIES OUTPUT_NAME "${name}")
target_link_libraries(${name}_test gtest gtest_main baylib)
add_test(${name}_test ${name})
add_executable(${name}_test ${name}_test.cpp)
set_target_properties(${name}_test PROPERTIES OUTPUT_NAME "${name}")
target_link_libraries(${name}_test gtest gtest_main baylib)
add_test(${name}_test ${name})
endmacro()

add_gtest(bnet)
Expand Down

0 comments on commit 041ae5d

Please sign in to comment.