[HIPIFY] Support of cudaComputeMode / CUcomputemode
+ update docs + fix typo in hip_runtime_api.h
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -231,6 +231,11 @@
|
||||
| 0x02 |*`CU_MEMORYTYPE_DEVICE`* | |
|
||||
| 0x03 |*`CU_MEMORYTYPE_ARRAY`* | |
|
||||
| 0x04 |*`CU_MEMORYTYPE_UNIFIED`* | |
|
||||
| enum |***`CUcomputemode`*** |***`hipComputeMode`*** |
|
||||
| 0 |*`CU_COMPUTEMODE_DEFAULT`* |*`hipComputeModeDefault`* |
|
||||
| 1 |*`CU_COMPUTEMODE_EXCLUSIVE`* |*`hipComputeModeExclusive`* |
|
||||
| 2 |*`CU_COMPUTEMODE_PROHIBITED`* |*`hipComputeModeProhibited`* |
|
||||
| 3 |*`CU_COMPUTEMODE_EXCLUSIVE_PROCESS`* |*`hipComputeModeExclusiveProcess`* |
|
||||
| enum |***`CUoccupancy_flags`*** | |
|
||||
| 0x00 |*`CU_OCCUPANCY_DEFAULT`* | |
|
||||
| 0x01 |*`CU_OCCUPANCY_DISABLE_CACHING_OVERRIDE`* | |
|
||||
@@ -243,7 +248,7 @@
|
||||
| 6 |*`CU_POINTER_ATTRIBUTE_SYNC_MEMOPS`* | |
|
||||
| 7 |*`CU_POINTER_ATTRIBUTE_BUFFER_ID`* | |
|
||||
| 8 |*`CU_POINTER_ATTRIBUTE_IS_MANAGED`* | |
|
||||
| enum |***`CUmemorytype`*** | |
|
||||
| enum |***`CUresourcetype`*** | |
|
||||
| 0x00 |*`CU_RESOURCE_TYPE_ARRAY`* | |
|
||||
| 0x01 |*`CU_RESOURCE_TYPE_MIPMAPPED_ARRAY`* | |
|
||||
| 0x02 |*`CU_RESOURCE_TYPE_LINEAR`* | |
|
||||
|
||||
@@ -418,11 +418,11 @@
|
||||
| 1 |*`cudaChannelFormatKindUnsigned`* |*`hipChannelFormatKindUnsigned`* |
|
||||
| 2 |*`cudaChannelFormatKindFloat`* |*`hipChannelFormatKindFloat`* |
|
||||
| 3 |*`cudaChannelFormatKindNone`* |*`hipChannelFormatKindNone`* |
|
||||
| enum |***`cudaComputeMode`*** | |
|
||||
| 0 |*`cudaComputeModeDefault`* | |
|
||||
| 1 |*`cudaComputeModeExclusive`* | |
|
||||
| 2 |*`cudaComputeModeProhibited`* | |
|
||||
| 3 |*`cudaComputeModeExclusiveProcess`* | |
|
||||
| enum |***`cudaComputeMode`*** |***`hipComputeMode`*** |
|
||||
| 0 |*`cudaComputeModeDefault`* |*`hipComputeModeDefault`* |
|
||||
| 1 |*`cudaComputeModeExclusive`* |*`hipComputeModeExclusive`* |
|
||||
| 2 |*`cudaComputeModeProhibited`* |*`hipComputeModeProhibited`* |
|
||||
| 3 |*`cudaComputeModeExclusiveProcess`* |*`hipComputeModeExclusiveProcess`* |
|
||||
| enum |***`cudaDeviceAttr`*** |***`hipDeviceAttribute_t`*** |
|
||||
| 1 |*`cudaDevAttrMaxThreadsPerBlock`* |*`hipDeviceAttributeMaxThreadsPerBlock`* |
|
||||
| 2 |*`cudaDevAttrMaxBlockDimX`* |*`hipDeviceAttributeMaxBlockDimX`* |
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user