aboutsummaryrefslogtreecommitdiff
path: root/test/miscellaneous/odp_api_from_cpp.cpp
blob: 7ed72ff17c5a6c141efc734d44e518e9c89723c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <odp_api.h>
#include <odp/helper/odph_api.h>

int main(int argc ODP_UNUSED, const char *argv[] ODP_UNUSED)
{
	std::cout << "\tODP API version: " << odp_version_api_str() << std::endl;
	std::cout << "\tODP implementation version: " << odp_version_impl_str() << std::endl;

	return 0;
}