Skip to content

[2_1] Unit tests on long array#193

Draft
da-liii wants to merge 1 commit intomainfrom
da/2_1/long_array
Draft

[2_1] Unit tests on long array#193
da-liii wants to merge 1 commit intomainfrom
da/2_1/long_array

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