hipmemrangegetattributes Interface Reference#
hipfort::hipmemrangegetattributes Interface Reference
Query attributes of a given memory range in HIP. More...
Public Member Functions | |
| integer(c_int) function | hipmemrangegetattributes_ (mydata, data_sizes, attributes, num_attributes, dev_ptr, count) |
| integer(kind(hipsuccess)) function | hipmemrangegetattributes_rank_0 (mydata, data_sizes, attributes, num_attributes, dev_ptr, count) |
| integer(kind(hipsuccess)) function | hipmemrangegetattributes_rank_1 (mydata, data_sizes, attributes, num_attributes, dev_ptr, count) |
Detailed Description
Query attributes of a given memory range in HIP.
- Parameters
-
[in,out] data a two-dimensional array containing pointers to memory locations where the result of each attribute query will be written to [in] data_sizes an array, containing the sizes of each result [in] attributes the attribute to query [in] num_attributes an array of attributes to query (numAttributes and the number of attributes in this array should match) [in] dev_ptr start of the range to query [in] count size of the range to query
- Returns
hipSuccess,hipErrorInvalidValue
- Note
- This API is implemented on Linux and is under development on Microsoft Windows.
Member Function/Subroutine Documentation
◆ hipmemrangegetattributes_()
| integer(c_int) function hipfort::hipmemrangegetattributes::hipmemrangegetattributes_ | ( | type(c_ptr) | mydata, |
| type(c_ptr), value | data_sizes, | ||
| type(c_ptr), value | attributes, | ||
| integer(c_size_t), value | num_attributes, | ||
| type(c_ptr), value | dev_ptr, | ||
| integer(c_size_t), value | count | ||
| ) |
◆ hipmemrangegetattributes_rank_0()
| integer(kind(hipsuccess)) function hipfort::hipmemrangegetattributes::hipmemrangegetattributes_rank_0 | ( | type(c_ptr) | mydata, |
| integer(c_size_t), target | data_sizes, | ||
| integer(kind(hipmemrangeattributereadmostly)), target | attributes, | ||
| integer(c_size_t) | num_attributes, | ||
| type(c_ptr), value | dev_ptr, | ||
| integer(c_size_t) | count | ||
| ) |
◆ hipmemrangegetattributes_rank_1()
| integer(kind(hipsuccess)) function hipfort::hipmemrangegetattributes::hipmemrangegetattributes_rank_1 | ( | type(c_ptr) | mydata, |
| integer(c_size_t), dimension(:), target | data_sizes, | ||
| integer(kind(hipmemrangeattributereadmostly)), dimension(:), target | attributes, | ||
| integer(c_size_t) | num_attributes, | ||
| type(c_ptr), value | dev_ptr, | ||
| integer(c_size_t) | count | ||
| ) |
The documentation for this interface was generated from the following file: