SWDEV-504376 - Update definition for hipHostAllocWriteCombined (#887)
Этот коммит содержится в:
@@ -830,14 +830,17 @@ enum hipLimit_t {
|
||||
|
||||
/** Allocates the memory as write-combined. On some system configurations, write-combined allocation
|
||||
* may be transferred faster across the PCI Express bus, however, could have low read efficiency by
|
||||
* most CPUs. It's a good option for data transfer from host to device via mapped pinned memory.*/
|
||||
* most CPUs. It's a good option for data transfer from host to device via mapped pinned memory.
|
||||
* @note This flag is only for CUDA source compatibility but not functional within HIP runtime,
|
||||
* because the allocation path is currently not supported on the AMD platform.*/
|
||||
#define hipHostAllocWriteCombined 0x4
|
||||
|
||||
/** Allocates the memory as write-combined. On some system configurations, write-combined allocation
|
||||
* may be transferred faster across the PCI Express bus, however, could have low read efficiency by
|
||||
* most CPUs. It's a good option for data transfer from host to device via mapped pinned memory.
|
||||
* @note This flag is the same definition as #hipHostAllocWriteCombined which is equivalent to
|
||||
* cudaHostAllocWriteCombined.*/
|
||||
* cudaHostAllocWriteCombined. It is only for CUDA source compatibility but not functional within
|
||||
* HIP runtime, because the allocation path is currently not supported on the AMD platform.*/
|
||||
#define hipHostMallocWriteCombined 0x4
|
||||
|
||||
/**
|
||||
|
||||
Ссылка в новой задаче
Block a user