Content
This example shows how to modify options.
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>
#include <cstdlib>
BOOST_AUTO_TEST_SUITE(example_reconstructmesdk)
BOOST_AUTO_TEST_CASE(options) {
int res;
printf("Volume size in x-dim is: %i", res);
}
BOOST_AUTO_TEST_CASE(options_repeated) {
int num_devices = 0;
printf("Found %i OpenCL compatible devices\n", num_devices);
char name[256], vendor[256], type[256];
for (int i = 0; i < num_devices; i += 1) {
printf("----\n");
printf("Device '%s' \n", name);
printf(" - by '%s' \n", vendor);
printf(" - type %s \n", type);
}
}
BOOST_AUTO_TEST_SUITE_END()