Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename CHECK and LOG macros to avoid name collisions #295

Merged
merged 3 commits into from
Jul 13, 2021

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jul 12, 2021

Closes #294

@codecov
Copy link

codecov bot commented Jul 12, 2021

Codecov Report

Merging #295 (b24dbc6) into mainline (5c5aa9f) will decrease coverage by 0.13%.
The diff coverage is 71.93%.

Impacted file tree graph

@@              Coverage Diff               @@
##             mainline     #295      +/-   ##
==============================================
- Coverage       85.11%   84.97%   -0.14%     
  Complexity         46       46              
==============================================
  Files             106      106              
  Lines            8020     8034      +14     
  Branches           50       50              
==============================================
+ Hits             6826     6827       +1     
- Misses           1169     1182      +13     
  Partials           25       25              
Impacted Files Coverage Δ
include/treelite/logging.h 100.00% <ø> (ø)
runtime/java/treelite4j/src/native/treelite4j.cpp 66.85% <0.00%> (ø)
src/compiler/ast/dump.cc 0.00% <0.00%> (ø)
src/compiler/pred_transform.cc 68.00% <0.00%> (ø)
src/filesystem.cc 50.00% <0.00%> (ø)
src/frontend/xgboost_util.cc 97.29% <0.00%> (ø)
src/frontend/xgboost_json.cc 70.85% <10.00%> (ø)
src/compiler/elf/elf_formatter.cc 96.07% <50.00%> (ø)
src/data.cc 80.76% <50.00%> (ø)
src/frontend/lightgbm.cc 85.32% <58.33%> (ø)
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c5aa9f...b24dbc6. Read the comment docs.

@hcho3 hcho3 merged commit d037bb4 into dmlc:mainline Jul 13, 2021
@hcho3 hcho3 deleted the rename_logger_macros branch July 13, 2021 01:14
This was referenced Jul 16, 2021
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Jul 21, 2021
Closes #4037.

The 2.0.0 version of Treelite incorporates the following major improvements:

* **Remove dmlc-core dependency** (dmlc/treelite#284).
* Rename CHECK and LOG macros to avoid name collisions (dmlc/treelite#295)
* Suppress warning about build time when parallel_comp is specified (dmlc/treelite#297)
* Handle LightGBM models with '=' in feature names (dmlc/treelite#298)
* Remove OpenMP dependency (dmlc/treelite#300)

Depends on rapidsai/integration#315

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Jordan Jacobelli (https://github.com/Ethyling)

URL: #4072
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
Closes rapidsai#4037.

The 2.0.0 version of Treelite incorporates the following major improvements:

* **Remove dmlc-core dependency** (dmlc/treelite#284).
* Rename CHECK and LOG macros to avoid name collisions (dmlc/treelite#295)
* Suppress warning about build time when parallel_comp is specified (dmlc/treelite#297)
* Handle LightGBM models with '=' in feature names (dmlc/treelite#298)
* Remove OpenMP dependency (dmlc/treelite#300)

Depends on rapidsai/integration#315

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Jordan Jacobelli (https://github.com/Ethyling)

URL: rapidsai#4072
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename logging macros with Treelite prefix
1 participant