Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_quantization
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_quantization
Merge requests
!26
Remove scm
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove scm
RemoveSCM
into
dev
Overview
0
Commits
1
Pipelines
3
Changes
9
Merged
Cyril Moineau
requested to merge
RemoveSCM
into
dev
5 months ago
Overview
0
Commits
1
Pipelines
3
Changes
9
Expand
Remove scm linked to
gitlab_shared_files#6
Add url to python package linked to
aidge#182 (closed)
Add a function to show version information
0
0
Merge request reports
Compare
dev
version 1
5d8c8ebc
5 months ago
dev (base)
and
latest version
latest version
579d9320
1 commit,
4 months ago
version 1
5d8c8ebc
1 commit,
5 months ago
9 files
+
115
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
include/aidge/utils/sys_info/QuantizationVersionInfo.hpp
0 → 100644
+
38
−
0
Options
#ifndef AIDGE_UTILS_SYS_INFO_OPENCV_VERSION_INFO_H
#define AIDGE_UTILS_SYS_INFO_OPENCV_VERSION_INFO_H
#include
"aidge/utils/Log.hpp"
#include
"aidge/quantization_version.h"
namespace
Aidge
{
constexpr
inline
const
char
*
getQuantizationProjectVersion
(){
return
PROJECT_VERSION
;
}
constexpr
inline
const
char
*
getQuantizationGitHash
(){
return
PROJECT_GIT_HASH
;
}
void
showQuantizationVersion
()
{
Log
::
info
(
"Aidge quantization: {} ({}), {} {}"
,
getQuantizationProjectVersion
(),
getQuantizationGitHash
(),
__DATE__
,
__TIME__
);
// Compiler version
#if defined(__clang__)
/* Clang/LLVM. ---------------------------------------------- */
Log
::
info
(
"Clang/LLVM compiler version: {}.{}.{}
\n
"
,
__clang_major__
,
__clang_minor__
,
__clang_patchlevel__
);
#elif defined(__ICC) || defined(__INTEL_COMPILER)
/* Intel ICC/ICPC. ------------------------------------------ */
Log
::
info
(
"Intel ICC/ICPC compiler version: {}
\n
"
,
__INTEL_COMPILER
);
#elif defined(__GNUC__) || defined(__GNUG__)
/* GNU GCC/G++. --------------------------------------------- */
Log
::
info
(
"GNU GCC/G++ compiler version: {}.{}.{}"
,
__GNUC__
,
__GNUC_MINOR__
,
__GNUC_PATCHLEVEL__
);
#elif defined(_MSC_VER)
/* Microsoft Visual Studio. --------------------------------- */
Log
::
info
(
"Microsoft Visual Studio compiler version: {}
\n
"
,
_MSC_VER
);
#else
Log
::
info
(
"Unknown compiler
\n
"
);
#endif
}
}
// namespace Aidge
#endif // AIDGE_UTILS_SYS_INFO_OPENCV_VERSION_INFO_H
Loading