Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2_1] Unit tests on long array #193

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[2_1] Unit tests on long array #193

wants to merge 1 commit into from

Conversation

da-liii
Copy link
Contributor

@da-liii da-liii commented Oct 23, 2023

No description provided.

@jingkaimori
Copy link
Contributor

Available memory is limited strictly under wasm, on which there are only 16M RAM. This limit can be raised by altering compile flags.

@da-liii da-liii marked this pull request as draft March 25, 2024 08:22
@Charonxin
Copy link
Collaborator

Available memory is limited strictly under wasm, on which there are only 16M RAM. This limit can be raised by altering compile flags.

What's the upper limit of memory on wasm platform? If I remember correctly it should be 16G?

int final_mem_used= mem_used ();
cout << "Final mem used: " << final_mem_used << LF;
cout << "Actual mem used: " << final_mem_used - initial_mem_used << LF;
CHECK_EQ (arr_size, N (long_arr));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this statement always passed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants