Skip to content

Conversation

XL64
Copy link
Contributor

@XL64 XL64 commented Jul 25, 2023

No description provided.

* @brief Contains functions that interact with the system or runtime environment.
*/

#pragma once
Copy link
Contributor

Choose a reason for hiding this comment

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

All of LvArray is using #pragma once, did you not have any issues with it before?

* @brief Retieves current available memory on host
* @return the available memory in bytes.
*/
size_t getAvailableMemoryOnHost();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I'd prefer getAvailableMemory(MemorySpace const space) instead of two separate functions.

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