cmuparlay / parlaylib

A Toolkit for Programming Parallel Algorithms on Shared-Memory Multicore Machines
MIT License
321 stars 60 forks source link

Disable exceptions when built with -fno-exceptions #59

Closed DanielLiamAnderson closed 1 year ago

DanielLiamAnderson commented 1 year ago

ParlayLib now removes all exception code when compiled with -fno-exceptions. You can also explicitly disable exceptions just inside ParlayLib with -DPARLAY_NO_EXCEPTIONS.

codecov-commenter commented 1 year ago

Codecov Report

Merging #59 (f02b9a8) into master (4579f39) will increase coverage by 0.24%. The diff coverage is 93.75%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   96.78%   97.02%   +0.24%     
==========================================
  Files          55       56       +1     
  Lines        3699     3701       +2     
==========================================
+ Hits         3580     3591      +11     
+ Misses        119      110       -9     
Files Changed Coverage Δ
include/parlay/alloc.h 96.77% <ø> (ø)
include/parlay/internal/counting_sort.h 98.62% <ø> (ø)
include/parlay/internal/file_map.h 100.00% <ø> (ø)
include/parlay/internal/pool_allocator.h 100.00% <ø> (ø)
include/parlay/internal/sample_sort.h 95.65% <ø> (ø)
include/parlay/internal/uninitialized_sequence.h 100.00% <ø> (ø)
include/parlay/internal/work_stealing_deque.h 94.73% <0.00%> (ø)
include/parlay/scheduler.h 100.00% <ø> (ø)
include/parlay/delayed_sequence.h 100.00% <100.00%> (+4.28%) :arrow_up:
include/parlay/internal/bucket_sort.h 100.00% <100.00%> (ø)
... and 4 more

... and 1 file with indirect coverage changes