P4 to Git Change 1567203 by skudchad@skudchad_test2_win_opencl on 2018/06/12 12:01:43
SWDEV-145570 - [HIP] - Since getMemoryObject is now used in hip_texture it shouldnt be inline
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#32 edit
[ROCm/hip commit: 2568c8042f]
이 커밋은 다음에 포함됨:
1 부모
abd1681306
커밋
4032d01baf
1 파일이 변경됨
+1
-1
@@ -36,7 +36,7 @@ extern void getDrvChannelOrderAndType(const enum hipArray_Format Format,
|
||||
cl_channel_order* channelOrder,
|
||||
cl_channel_type* channelType);
|
||||
|
||||
inline amd::Memory* getMemoryObject(const void* ptr, size_t& offset) {
|
||||
amd::Memory* getMemoryObject(const void* ptr, size_t& offset) {
|
||||
amd::Memory *memObj = amd::MemObjMap::FindMemObj(ptr);
|
||||
if (memObj != nullptr) {
|
||||
offset = reinterpret_cast<size_t>(ptr) - reinterpret_cast<size_t>(memObj->getSvmPtr());
|
||||
|
||||
새 이슈에서 참조
사용자 차단