|
4051 | 4051 | ("hipMemset3DAsync", CONV_MEM, API_RUNTIME, HIP_UNSUPPORTED), |
4052 | 4052 | ), |
4053 | 4053 | ("cudaMemGetInfo", ("hipMemGetInfo", CONV_MEM, API_RUNTIME)), |
4054 | | - ("cudaDeviceGetDefaultMemPool", ("hipDeviceGetDefaultMemPool", CONV_MEM, API_RUNTIME)), |
4055 | | - ("cudaMemAccessDesc", ("hipMemAccessDesc", CONV_MEM, API_RUNTIME)), |
4056 | | - ("cudaMemAccessFlagsProtReadWrite", ("hipMemAccessFlagsProtReadWrite", CONV_MEM, API_RUNTIME)), |
4057 | | - ("cudaMemLocationTypeDevice", ("hipMemLocationTypeDevice", CONV_MEM, API_RUNTIME)), |
4058 | | - ("cudaMemPoolAttrReleaseThreshold", ("hipMemPoolAttrReleaseThreshold", CONV_MEM, API_RUNTIME)), |
4059 | | - ("cudaMemPoolAttrReservedMemCurrent", ("hipMemPoolAttrReservedMemCurrent", CONV_MEM, API_RUNTIME)), |
4060 | | - ("cudaMemPoolAttrReservedMemHigh", ("hipMemPoolAttrReservedMemHigh", CONV_MEM, API_RUNTIME)), |
4061 | | - ("cudaMemPoolAttrUsedMemCurrent", ("hipMemPoolAttrUsedMemCurrent", CONV_MEM, API_RUNTIME)), |
4062 | | - ("cudaMemPoolAttrUsedMemHigh", ("hipMemPoolAttrUsedMemHigh", CONV_MEM, API_RUNTIME)), |
4063 | | - ("cudaMemPoolGetAttribute", ("hipMemPoolGetAttribute", CONV_MEM, API_RUNTIME)), |
4064 | | - ("cudaMemPoolReuseAllowInternalDependencies", ("hipMemPoolReuseAllowInternalDependencies", CONV_MEM, API_RUNTIME)), |
4065 | | - ("cudaMemPoolReuseAllowOpportunistic", ("hipMemPoolReuseAllowOpportunistic", CONV_MEM, API_RUNTIME)), |
4066 | | - ("cudaMemPoolReuseFollowEventDependencies", ("hipMemPoolReuseFollowEventDependencies", CONV_MEM, API_RUNTIME)), |
4067 | | - ("cudaMemPoolSetAccess", ("hipMemPoolSetAccess", CONV_MEM, API_RUNTIME)), |
4068 | | - ("cudaMemPoolSetAttribute", ("hipMemPoolSetAttribute", CONV_MEM, API_RUNTIME)), |
4069 | | - ("cudaMemPoolTrimTo", ("hipMemPoolTrimTo", CONV_MEM, API_RUNTIME)), |
4070 | | - ("cudaMemPool_t", ("hipMemPool_t", CONV_MEM, API_RUNTIME)), |
4071 | 4054 | ( |
4072 | 4055 | "cudaArrayGetInfo", |
4073 | 4056 | ("hipArrayGetInfo", CONV_MEM, API_RUNTIME, HIP_UNSUPPORTED), |
|
8608 | 8591 | CAFFE2_SPECIFIC_MAPPINGS = collections.OrderedDict( |
8609 | 8592 | [ |
8610 | 8593 | ("PYTORCH_NO_CUDA_MEMORY_CACHING", ("PYTORCH_NO_CUDA_MEMORY_CACHING", API_CAFFE2)), |
8611 | | - ("PYTORCH_CUDA_ALLOC_CONF", ("PYTORCH_CUDA_ALLOC_CONF", API_CAFFE2)), |
8612 | 8594 | ("cuda_stream", ("hip_stream", API_CAFFE2)), |
8613 | 8595 | # if the header is a native hip folder (under hip directory), |
8614 | 8596 | # there is no need to add a hip path to it; the trie in hipify script |
|
0 commit comments