Content
This example shows how to modify options of ReMe objects using the reflection like API.
Boost is only used to generate examples and is not necessary for working with this SDK.
#include <boost/test/unit_test.hpp>
#include <stdio.h>
BOOST_AUTO_TEST_SUITE(example_reconstructmesdk)
BOOST_AUTO_TEST_CASE(options_lazy)
{
}
BOOST_AUTO_TEST_CASE(options_lazy_repeated)
{
int num_devices = 0;
printf("Found %i OpenCL compatible devices\n", num_devices);
const char *value;
int length;
for (int i = 0; i < num_devices; i += 1) {
printf("----\n");
printf("Device '%s' \n", value);
printf(" - by '%s' \n", value);
printf(" - type %s \n", value);
}
}
BOOST_AUTO_TEST_SUITE_END()