Evgeny
2aa88a4505
tracing callback layer update
2019-03-14 22:43:52 -05:00
Siu Chi Chan
5044c9ba49
minor cleanup
2019-03-11 19:51:57 +00:00
Siu Chi Chan
fa564a5345
Fix memory leak introduced by previous change to Agent_global.
...
Make Agent_global manage the lifetime of the name string
2019-03-11 19:51:32 +00:00
Aaron Enye Shi
fcde9fe3df
Fix Agent_global variables failing hipTestDeviceSymbol
...
Issue: Header uses std::vector<Agent_global> agent_globals which is created by hip_module.cpp
- Move iterator fails to copy Agent_global from library source into header version
- Due to different versions of std::string name in struct Agent_global
Fix: Change Agent_global to use char* name instead of std::string name
2019-03-11 19:51:25 +00:00
Aaron Enye Shi
f8aca3159c
Fix hash_for undefined reference in hipTestConstant test
...
Issue: mismatch undefined symbols in different user env
- Binary expects modified return value std::string&
- Fails to match libhip_hcc.so: return value is std::string& but doesn't match modified C++ env
Fix: Change return value to char*, create new key std::string in header from char*
2019-03-11 19:51:18 +00:00
Yaxun Sam Liu
2dc87b6019
Fix HIP/VDI build failure due to dlopen change
2019-03-07 14:45:45 -05:00
Alex Voicu
ed48847237
dlopen() fixes ( #929 )
...
* Initial attempt to switch over to internally linked state.
* Add missing CMake update.
* hipLaunchKernelGGLImpl must be inline as well. Ensure internal linkage.
* Ensure global retrieval uses internally linked state.
* Hide HC in the implementation. Minimise ADL woes.
* Strange software exists, and must be catered to.
* Use a less spammy mechanism for ensuring internal linkage / non-export.
* Remove leftover internal detail.
2019-03-06 17:31:44 +05:30
Wen-Heng (Jack) Chung
8b7baa0bd9
Address code review comments to use hipDeviceptr_t
2019-03-05 05:51:05 +00:00
Wen-Heng (Jack) Chung
392271f4db
Add hipMemsetD32 and hipMemsetD32Async
...
Add 2 extra memset functions which fills memory with integer-typed data
Also change the parameters of ihipMemset to better explain the semantic
2019-03-04 17:00:33 +00:00
Laurent Morichetti
167bbffc4f
Fix compilation issues with MSVC
2019-01-09 09:32:50 -08:00
Yaxun Sam Liu
57d1f6e6cb
Use __dparm for default parameter
2018-12-31 13:07:19 -05:00
Yaxun Sam Liu
02deeadaa4
Add default arguments for hipConfigureCall
2018-12-18 15:48:21 -05:00
Maneesh Gupta
99bb89b756
Merge pull request #760 from eshcherb/roctracer-hip-frontend-181113
...
Roctracer hip frontend 181113
2018-11-23 11:08:25 +05:30
Evgeny
8c88932f30
hip_prof_(api/str).h moving under hcc_detail dir
2018-11-13 15:33:26 +00:00
Evgeny
084a68be63
adding activity prof layer
2018-11-13 15:33:26 +00:00
Michael Kuron
4da2d92281
Introduce ihipModuleGetGlobal
2018-11-06 09:54:34 +01:00
Michael Kuron
8049cdafab
Document return values of hipMemcpyToSymbol, hipGetSymbolAddress
2018-11-04 11:47:17 +01:00
Michael Kuron
0b6f5791f8
Implement hipGetSymbolAddress and hipGetSymbolSize
2018-11-04 10:39:34 +01:00
Jeff Daily
6eac038694
typedef struct hipFuncAttributes now C compatible.
...
Fixes #591 .
Fixes #694 .
2018-10-31 14:12:45 +05:30
Maneesh Gupta
07ee1f07d8
Implementation for stream priority
...
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged
Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
2018-10-05 16:27:46 +05:30
Rahul Garg
017f668a72
Added another variant of bindtextoarray for direct porting
2018-07-05 23:41:31 +05:30
Maneesh Gupta
85342d73b5
Merge pull request #445 from ROCm-Developer-Tools/feature_func_attributes
...
Add support for the hipFuncGetAttributes interface.
2018-05-22 09:37:41 +05:30
Alex Voicu
bf9529aaa8
Add support for the hipFuncGetAttributes interface.
2018-05-11 03:35:10 +01:00
Rahul Garg
78568435da
Added hipMemset3D
2018-05-07 10:24:30 +05:30
Rahul Garg
1d76c48e3d
Fix texture 3D for HIP/NVCC
2018-05-02 11:56:37 +05:30
Maneesh Gupta
2e6b46f308
Merge pull request #419 from gargrahul/fix_hip_gcc_host_build
...
Fix gcc build issues for host code
2018-05-01 12:42:50 +05:30
Rahul Garg
720e209366
Fix gcc build issues for host code
2018-04-25 12:30:11 +05:30
Rahul Garg
bc61260168
Moved deprecated macro to the end
2018-04-20 21:57:23 +05:30
Rahul Garg
89674c54a7
Mark hipCtx APIs as deprecated
2018-04-20 17:34:48 +05:30
Rahul Garg
fcc0866681
Added hipMemset2DAsync support
2018-04-17 18:27:27 +05:30
Laurent Morichetti
323caee8d2
Add support for clang offload bundles and <<<>>> kernel launch.
2018-04-04 13:32:33 -07:00
Maneesh Gupta
9e47fccc89
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg
92283d24d0
Added surface object support
2018-02-26 11:59:03 +05:30
Rahul Garg
ca5bcb5af4
Added support for -
...
- hipMemcpyFromArray
- hipMemcpyAtoH
- hipMemcpyHtoA
2018-01-16 11:44:19 +05:30
Rahul Garg
105df94cd0
Added support for
...
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
2017-12-05 14:11:13 +05:30
Rahul Garg
24307fe5c4
Changed function hipMemcpy_2D to hipMemcpyParam2D
2017-11-21 12:36:24 +05:30
Rahul Garg
76f174b536
Update hipModuleGetTexRef API
2017-11-19 22:10:46 +05:30
Rahul Garg
edbfeeb141
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
2017-11-15 18:23:28 +05:30
Rahul Garg
e536eb038d
Texture code reorganized
2017-11-14 11:09:35 +05:30
Rahul Garg
1851c153f6
Texture driver APIs support
2017-11-09 22:10:55 +05:30
Ben Sander
a6d1778fff
Update docs.
...
- Review unsupported comments and refresh.
- Review experimental tag in API.
2017-08-28 15:44:38 -05:00
Weixing Zhang
ccbd3b13fc
HIP Texture Support
2017-07-17 15:16:12 -04:00
Rahul Garg
cbc98cc098
Fixed build error in hipDeviceGetByPCIBusId
...
Change-Id: I33be362910c4c5dca7435fb9c41f427b54f0e9a7
2017-07-01 07:56:30 +05:30
Aditya Atluri
3043766899
fixed default args for symbol memcpy apis
...
Change-Id: Ie0b63f8b9c5535eb3946bd6af3f30fe71a015244
2017-06-23 19:05:44 -05:00
Ben Sander
823281dcba
Fix HIP_SYNC_NULL_STREAM=0 mode.
...
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow
2017-06-05 08:50:22 -05:00
Evgeny Mankov
463c026976
[HIP] [HIPIFY] CUDA Driver API 8.0.44 JIT options support.
2017-05-31 18:55:29 +03:00
Ben Sander
942ec0eff8
Add event controls for release fences.
...
Env var : HIP_EVENT_SYS_RELEASE
Event allocation flags : hipEventReleaseToDevice, hipEventReleaseToSystem
(remove hipEventDisableSystemRelease)
Update test for new functionality.
2017-05-27 16:02:34 -05:00
Ben Sander
8dc968f036
Updates so hip compiles on CUDA.
2017-05-27 15:55:07 -05:00
Ben Sander
dda70ae514
Add hipHostMallocCoherent, hipHostMallocNonCoherent
...
Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.
2017-05-24 00:48:10 -05:00
Evgeny Mankov
ae9f14ef9c
[HIP] [HIPIFY] [FIX] cuModuleLoadDataEx -> hipModuleLoadDataEx
...
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/81
1. Do not use JIT options on HCC path, call hipModuleLoadData instead.
2. NVCC path is unchanged, to call cuModuleLoadDataEx with all options.
3. Get rid of manual hipification, based on #ifdef #else for NVCC/HIP.
4. Update documentation accordingly.
2017-05-19 17:22:14 +03:00