Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Вход
AI
/
rocm-systems
Следить
2
В избранное
0
Форкнуть
0
Вы уже форкнули rocm-systems
Код
Задачи
Запросы на слияние
Действия
Пакеты
Проекты
Релизы
Вики
Активность
Files
d254875c429dd693e06feb736c27346bbeac385b
rocm-systems
/
src
T
История
Maneesh Gupta
814d55f046
Merge pull request
#282
from gargrahul/texture_driver_3d_support
...
Added support for 3D texture driver apis
2017-12-18 15:39:26 +05:30
..
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
Replace archaic use of homebrew functionality with calls to the HC maths library. This fixes a hang observed when building hipTestDeviceDouble.
2017-12-02 00:01:47 +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
Fix some cppcheck style issues.
2017-12-01 20:45:34 +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
[cmake] Added target static_check for static code analysis
2017-12-14 12:16:44 +05:30
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
Re-sync with upstream.
2017-12-03 23:14:58 +00:00
hip_hcc.cpp
Fix some cppcheck style issues.
2017-12-01 20:45:34 +00:00
hip_ldg.cpp
Fixed copyright and header names
2017-03-31 12:40:29 -05:00
hip_memory.cpp
Added support for
2017-12-05 14:11:13 +05:30
hip_module.cpp
This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail.
2017-12-03 23:09:06 +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
Added support for
2017-12-05 14:11:13 +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
hsa_helpers.hpp
This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail.
2017-12-03 23:09:06 +00:00
macro_based_grid_launch.inl
[cmake] Added target static_check for static code analysis
2017-12-14 12:16:44 +05:30
math_functions.cpp
Merge pull request
#285
from aaronenyeshi/fix-ilogb-unreachable
2017-12-12 10:47:33 +05:30
program_state.cpp
This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail.
2017-12-03 23:09:06 +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