kupl_hbw_check_available
Checks whether an OPM exists in the system.
Interface Definition
int kupl_hbw_check_available();
Return Value
- If an OPM exists in the system, 1 is returned.
- If no OPM exists in the system, 0 is returned.
Examples
1 2 3 4 5 6 7 8 9 10 11 12 | #include <stdio.h> #include "kupl.h" int main() { if (kupl_hbw_check_available()) { printf("High Band-Width Memory is available in the system.\n"); } else { printf("Cannot detect High Band-Width Memory in the system.\n"); } return 0; } |
- The preceding example shows how to check whether an OPM exists in the system.
- In the preceding example, if an OPM exists in the system, "High Band-Width Memory is available in the system." is displayed. If no OPM exists in the system, "Cannot detect High Band-Width Memory in the system." is displayed.
Parent topic: Memory Management Functions