이 웹사이트는 JavaScript가 필요합니다.
탐색
도움말
로그인
AI
/
rocm-systems
구독
2
별점
0
포크
0
rocm-systems 이미 포크됨
코드
이슈
풀 리퀘스트
액션
패키지
프로젝트
릴리즈
위키
활동
파일
4c22f63f7f5bdbbccfdc9366e5edd913185e4a56
rocm-systems
/
projects
/
hip
/
src
T
히스토리
Alex Voicu
08a0d96448
Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
...
[ROCm/hip commit:
7c0b9a005b
]
2017-11-30 03:29:04 +00:00
..
elfio
Make elfio headers private
2017-10-23 10:24:36 +05:30
AMDGPUPTNote.h
Added default module launch api functionality
2017-03-17 13:11:34 -05:00
AMDGPURuntimeMetadata.h
Added default module launch api functionality
2017-03-17 13:11:34 -05:00
code_object_bundle.cpp
This switches HIP from its currently convoluted macro + pfe based dispatch mechanism to a more natural one partially based on the existing module API. The basic idea is that HCC will always correctly emit __global__ functions: as empty-bodied stubs, on host, and as kernels, on device. It then becomes trivial to obtain the mangled name on host, at dispatch, from the function's address, and then to use the mangled name to retrieve the kernel. This should address all problems stemming from serialisation, dubious mismatches due to the manufactured functor, macro-isms et al. It also immediately enables support for generalised globals as a consequence of that being available in the module API. Finally, it will make debug much easier, since the actual names of the __global__ functions will automatically be used in traces etc. One detail is that due to how dispatch works now (hipLaunchKernel and hipLaunchKernelGGL are themselves variadic function templates which deduce the function type of the callee), in certain cases it may be necesssary to insert explicit casts to ensure that the variadic argument list selects a viable overload - this can be observed in some unit tests. Eventually we may be able to remove this limitation, but for now it does not appear terribly onerous. The code is not extremely HIPpie, nor is it fully optimised, but rather is intended as a starting point for the HIP team to make its own.
2017-11-01 15:09:59 +00:00
device_functions.cpp
Remove leftover agent allocated globals.
2017-11-28 19:56:04 +00:00
device_util.cpp
Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
2017-11-29 21:49:10 +00:00
device_util.h
remove unsupported erf(c)inv related host functionality
2017-07-14 11:31:40 +05:30
env.cpp
added new api hipHccModuleLaunchKernel
2017-03-31 12:11:34 -05:00
env.h
Move core env var processing to env.cpp
2017-01-23 22:34:41 -06:00
functional_grid_launch.inl
Fix oversight in selection mechanism which led to erroneous code to be compiled for the grid_launch_GGL component.
2017-11-29 01:37:52 +00:00
grid_launch.cpp
Fix compiler version check.
2017-11-29 03:05:53 +00:00
hip_context.cpp
Fix missing MARKER_END
2017-11-13 16:13:19 -05:00
hip_db.cpp
Fix hip_db header inclusion path
2017-07-12 16:08:20 +00:00
hip_device.cpp
Add ns-level timer for HIP API routines
2017-10-30 20:20:51 +00:00
hip_error.cpp
added new api hipHccModuleLaunchKernel
2017-03-31 12:11:34 -05:00
hip_event.cpp
Check for null event in hipEventElapsedTime
2017-11-06 23:49:31 +00:00
hip_fp16.cpp
changed vector types to make sure it generate proper llvm vector types
2017-05-16 21:35:40 -05:00
hip_hc_gfx803.ll
changed vector types to make sure it generate proper llvm vector types
2017-05-16 21:35:40 -05:00
hip_hc.ll
Fixed Hawaii link issues
2017-02-08 12:04:05 -06:00
hip_hcc_internal.h
Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
2017-11-28 17:29:11 +00:00
hip_hcc.cpp
Fix missing MARKER_END
2017-11-13 16:13:19 -05:00
hip_ldg.cpp
Fixed copyright and header names
2017-03-31 12:40:29 -05:00
hip_memory.cpp
Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
2017-11-30 03:29:04 +00:00
hip_module.cpp
Choose whether or not to use functional grid_launch based on the version of HCC used to compile.
2017-11-29 00:17:44 +00:00
hip_peer.cpp
added new api hipHccModuleLaunchKernel
2017-03-31 12:11:34 -05:00
hip_stream.cpp
hipStreamWaitEvent returns success if event created but not recorded
2017-11-06 23:49:31 +00:00
hip_texture.cpp
Fixed review comments
2017-11-21 21:19:06 +05:30
hip_texture.h
HIP Texture Support
2017-07-17 15:16:12 -04:00
hip_util.h
Fixed copyright and header names
2017-03-31 12:40:29 -05:00
macro_based_grid_launch.inl
Fix oversight in selection mechanism which led to erroneous code to be compiled for the grid_launch_GGL component.
2017-11-29 01:37:52 +00:00
math_functions.cpp
remove unsupported erf(c)inv related host functionality
2017-07-14 11:31:40 +05:30
program_state.cpp
Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
2017-11-30 03:29:04 +00:00
trace_helper.h
Change the #define of GENERIC_GRID_LAUNCH to take valueat compilation, disable warning messages
2017-03-17 14:59:34 -05:00