Sandbox not active error tracking observations

This commit is contained in:
doinachiroiu 2020-08-17 11:21:49 +00:00
parent d51d558083
commit 3fb4d59545
2 changed files with 11 additions and 2 deletions

View File

@ -21,3 +21,10 @@ Sandboxed main observations:
=> loop in pffft_transform for N = 64 (why?); => loop in pffft_transform for N = 64 (why?);
N = 64, status OK, pffft_transform generates error N = 64, status OK, pffft_transform generates error
N > 64, status not OK N > 64, status not OK
Problem on initialising sapi::StatusOr<PFFFT_Setup *> s;
the memory that stays for s is not the same with the address passed
in pffft_transform function.
(sapi::v::GenericPtr to be changed?)
Temporary solution (not done): change the generated files to accept
uintptr_t instead of PFFFT_Setup

View File

@ -73,6 +73,8 @@ int main(int argc, char* argv[]) {
pffftSapiSandbox sandbox; pffftSapiSandbox sandbox;
sandbox.Init().IgnoreError(); sandbox.Init().IgnoreError();
printf("%s\n", sandbox.Init().ToString().c_str());
pffftApi api(&sandbox); pffftApi api(&sandbox);
int N, cplx; int N, cplx;