Required changes resolved

This commit is contained in:
doinachiroiu 2020-08-31 11:17:15 +00:00
parent 905f86a0ab
commit 531850afc2
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Build System: CMake
OS: Linux
### Check out the PFFFT library & CMake set up
`git clone https://github.com/doinachiroiu/sandboxed-api/tree/master/oss-internship-2020/pffft`
`git checkout -b master`
`git submodule update --init --recursive`

View File

@ -86,6 +86,8 @@ void ShowOutput(const char* name, int n, int complex, float flops, float t0,
}
absl::Status PffftMain() {
LOG(INFO) << "Initializing sandbox...\n";
PffftSapiSandbox sandbox;
SAPI_RETURN_IF_ERROR(sandbox.Init());
@ -201,8 +203,6 @@ int main(int argc, char* argv[]) {
gflags::ParseCommandLineFlags(&argc, &argv, true);
LOG(INFO) << "Initializing sandbox...\n";
if (absl::Status status = PffftMain(); !status.ok()) {
LOG(ERROR) << "Initialization failed: " << status.ToString();
return EXIT_FAILURE;