From 531850afc219947ccc4fd3d5208b0049b55a42c6 Mon Sep 17 00:00:00 2001 From: doinachiroiu Date: Mon, 31 Aug 2020 11:17:15 +0000 Subject: [PATCH] Required changes resolved --- oss-internship-2020/pffft/README.md | 2 +- oss-internship-2020/pffft/main_pffft_sandboxed.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oss-internship-2020/pffft/README.md b/oss-internship-2020/pffft/README.md index a380ff4..194c6b6 100644 --- a/oss-internship-2020/pffft/README.md +++ b/oss-internship-2020/pffft/README.md @@ -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` diff --git a/oss-internship-2020/pffft/main_pffft_sandboxed.cc b/oss-internship-2020/pffft/main_pffft_sandboxed.cc index 33116ed..ea42a26 100644 --- a/oss-internship-2020/pffft/main_pffft_sandboxed.cc +++ b/oss-internship-2020/pffft/main_pffft_sandboxed.cc @@ -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;