Ben Sander
5741930acb
Expand hipP2PSimple testing.
...
Cover cases where P2P is used for H2D copies, where host is pinned
but not accessible to the copy agent.
Change-Id: I9464b787228b40f93473708c3fde9726e1986365
[ROCm/hip commit: ff3298f40e ]
2016-11-04 16:13:32 -05:00
Ben Sander
fe1d895f07
Refactor resolve-mem step1
...
Change-Id: I7b8b2bbb56d7b31a97b48ebd42002641cd07a460
[ROCm/hip commit: 5d79384832 ]
2016-11-04 09:37:56 -05:00
Ben Sander
1e5540e07f
Add debug for Peer APIs. Enable PeerMemcpy APIs by default.
...
Change-Id: I46e39a9e7b07686a78484c1f3b5495b08e052fbb
[ROCm/hip commit: 3f0a2b8dc1 ]
2016-11-04 08:51:16 -05:00
Ben Sander
411cf6c80a
Print non-peers too
...
Change-Id: I2a6905edcdf144aa732ae3120c17780477f232ac
[ROCm/hip commit: 5832349e5e ]
2016-11-04 06:34:07 -05:00
Ben Sander
6444dddaa7
Pre-pend HIP_PATH/lib to linker, so we find developer object code
...
Previously might pick up libs from /opt/rocm/lib.
Change-Id: Ia7adb345defe433d5952aa61706fe03fd7cbcd35
[ROCm/hip commit: f0bb817c11 ]
2016-11-04 06:06:04 -05:00
pensun
9251040786
Update document for workaround suggestion on threadfence_system()
...
Change-Id: Icccab8270604a0e578a8614b9afb3f95372f4966
[ROCm/hip commit: 774de273d0 ]
2016-11-02 16:08:27 -05:00
pensun
959880e318
Update hipStreamNonBlocking to use cuda define on NV path
...
Change-Id: I74ea09db99d602ba1c5f192b36ff7f2781176e6a
[ROCm/hip commit: 4817131cdc ]
2016-11-01 20:30:56 -05:00
Aditya Atluri
42130918bb
added inter thread data movement intrinsics
...
Change-Id: I2a8a8ed49429cb7f96439bd28c4b83b5142737df
[ROCm/hip commit: f48c53534e ]
2016-11-01 16:37:33 -05:00
Rahul Garg
0aa4468ac3
Added hipDeviceGetByPCIBusId in hip/hcc path
...
Change-Id: I3cca0dc533d0281689d8a407c7da16ca1ba6a3a8
[ROCm/hip commit: 2d15d0741c ]
2016-11-01 10:57:48 +05:30
Evgeny Mankov
0fd5ec74c0
[HIPIFY] wrap kernel name with HIP_KERNEL_NAME macros...
...
only in case of commas in it.
[ROCm/hip commit: 1b64c167f6 ]
2016-10-28 20:05:51 +03:00
Evgeny Mankov
4b907cce25
* [HIPIFY] Initial Profiler support.
...
CUDA Driver API porting to HIP:
+ cuProfilerStart, cuProfilerStop.
- cuProfilerInitialize & cudaProfilerInitialize - unsupported yet by HIP.
[ROCm/hip commit: b0f37d0d2e ]
2016-10-28 18:32:13 +03:00
Ben Sander
ae8d55ccc1
add hip_profile.h
...
Change-Id: Id43a4336db53567020584cb7842baf5c1649fd8e
[ROCm/hip commit: 87a2e8f12b ]
2016-10-28 07:08:46 -05:00
Maneesh Gupta
d1a803e5f2
hipdemangleatp: Try handling HC kernels as well
...
Change-Id: Ie438ddd28e5bc6067fcd682df849d3183046b40a
[ROCm/hip commit: c39ddad215 ]
2016-10-28 15:46:59 +05:30
Maneesh Gupta
4009e17202
CMakeLists.txt: Update include paths needed for Fedora support
...
Change-Id: Ib84f9dba30d2c64f344d6f8e85ddbe15f30af1a0
[ROCm/hip commit: c5a2ad4964 ]
2016-10-28 14:12:53 +05:30
Maneesh Gupta
6aa40b6f21
hipcc: Update flags for Fedora support
...
Change-Id: I90be7768410e491b4f11c3b0f08470246d781d80
[ROCm/hip commit: 6fa9bc3b61 ]
2016-10-28 14:12:13 +05:30
Ben Sander
22b87992cf
Print short hipLaunchKernel correctly.
...
Change-Id: I6ca03d7c707cd03d6982199830213953d5855f17
[ROCm/hip commit: 024d9ab090 ]
2016-10-27 23:09:32 -05:00
Ben Sander
2cfd770f1b
Add initial hipProfileStart/Stop
...
And modify sample to show how to use.
Still needs some work to understand interaction with CXL.
Change-Id: I2579824d2dd7863ea23874d34f0dabb3cb305d3e
[ROCm/hip commit: bb58f4f6fc ]
2016-10-27 23:09:32 -05:00
Ben Sander
73d0a04f44
show how to use variety of HIP_PROFILE features
...
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469
[ROCm/hip commit: 32b086400e ]
2016-10-27 23:09:32 -05:00
Ben Sander
9022f04992
Add two levels of HIP_PROFILE_API (1=short,2=long)
...
Change-Id: I7ef98589f8731fb879db109fd573c62b489f2b61
[ROCm/hip commit: ef8eac9b66 ]
2016-10-27 23:09:31 -05:00
Ben Sander
cd3db22eb6
HIPCC adds paths to profiler include and libs by default.
...
Users who desire otherwise can set HIP_ATP_MARKER=0.
Also remove old unused hipcc_explicit_lib option.
Change-Id: I2bf07ba880329e7a3b1365dd33a3b2be6794370f
[ROCm/hip commit: e5ef8a2fd7 ]
2016-10-27 23:09:31 -05:00
Ben Sander
ed022118bb
Add new hipdemangleatp and snapshot sample update for new functionality
...
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7
[ROCm/hip commit: f95482c7c5 ]
2016-10-27 23:09:31 -05:00
Ben Sander
591f91f2da
Fix scoped marker so begin/end ATP timestamps correct
...
Change-Id: Ic944d3fc00d7bc31b756c0e6c327b99eb489537e
[ROCm/hip commit: ab1836544a ]
2016-10-27 23:09:31 -05:00
Ben Sander
0845025a21
Rename HIP_ATP_MARKER and profiling vars
...
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API
Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34
[ROCm/hip commit: e9056798f6 ]
2016-10-27 23:09:31 -05:00
Ben Sander
6972e6d87a
Allow HIP_DB to be number or string flags (ie HIP_DB=api+mem+sync)
...
Add callbacks for processing env vars.
Change-Id: I4ddf50e2da56b1dae43f50657bc693b07b23c03d
[ROCm/hip commit: f5e8090f2f ]
2016-10-27 23:09:31 -05:00
Ben Sander
770ae2611f
Add HIP_PROFILE_START_API, HIP_PROFILE_STOP_API
...
Refactor HIP_INIT_API to call recordApiTrace.
Change-Id: Ieff4b5018236f59e49e1b9841474440a34f821df
[ROCm/hip commit: 710be682ca ]
2016-10-27 23:09:31 -05:00
Ben Sander
494239ad61
Add per-thread API seqnum to debug
...
Change-Id: Ib13733a3e84cd56bae13a32bae40f936c20b7543
[ROCm/hip commit: 739bc37503 ]
2016-10-27 23:09:31 -05:00
Ben Sander
04691cdff8
Don't call allow-access if allocating device's only peer is self.
...
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d
[ROCm/hip commit: 354091f357 ]
2016-10-27 23:09:31 -05:00
Ben Sander
a27124c1f6
Improve HIP TID printing in debug mode.
...
Map long thread-id to a short one that is printed with each message.
Remove clunky stirng creation code for tid_tr.
Print TID on every message.
Change-Id: I780a91d8ce789cb4957789036b478bf5cde8c4e4
[ROCm/hip commit: 346c519ace ]
2016-10-27 23:09:31 -05:00
Ben Sander
a357a07982
Update docs and improve hipcc error message.
...
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47
[ROCm/hip commit: bff88d0f63 ]
2016-10-27 23:09:31 -05:00
pensun
d449ce078c
Add missing hipStream typedef for NV path
...
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341
[ROCm/hip commit: 334e9c6f8e ]
2016-10-27 13:34:14 -05:00
pensun
35e0bdbc22
Remove extra semicolons and extra spaces in header on NV path
...
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b
[ROCm/hip commit: 2abf300797 ]
2016-10-26 10:23:10 +05:30
pensun
75ccef39c9
Remove extra semicolons and extra spaces in header on NV path
...
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b
[ROCm/hip commit: 8a7dcfce0b ]
2016-10-25 15:29:52 -05:00
Aditya Atluri
84d64ef382
reverted change for cache size query
...
Change-Id: I44a1f43818cd287a2a3b6265f43d183f9bd5b71c
[ROCm/hip commit: e1c1b4c009 ]
2016-10-25 11:03:35 -05:00
Aditya Atluri
8580bba30c
correct cachesize to output correct value
...
Change-Id: I5db031591eb718b0c12e78a35e4b19349de9526d
[ROCm/hip commit: 820a914b98 ]
2016-10-25 09:33:45 -05:00
Maneesh Gupta
f34dc4d90c
hip_hcc package: install hip_ir.ll to lib folder
...
Change-Id: Ieaa4ff83597c211f221b4c1b0b93e08ad7c92ea6
[ROCm/hip commit: db7a46adf6 ]
2016-10-25 15:43:56 +05:30
Maneesh Gupta
5be53b00c6
hip_hcc package: install hip_ir.ll to lib folder
...
Change-Id: Ieaa4ff83597c211f221b4c1b0b93e08ad7c92ea6
[ROCm/hip commit: c2b6eee152 ]
2016-10-25 15:42:24 +05:30
Maneesh Gupta
b602b3d168
hipcc: Turn back linking hip_ir.ll by default
...
Change-Id: I9cec5a1a5a4791eddf6ef3e3332143ffc3ceadb6
[ROCm/hip commit: 528b257004 ]
2016-10-25 12:27:24 +05:30
Maneesh Gupta
0e36aae349
hipcc: Turn back linking hip_ir.ll by default
...
Change-Id: I9cec5a1a5a4791eddf6ef3e3332143ffc3ceadb6
[ROCm/hip commit: f1a4303b04 ]
2016-10-25 12:26:54 +05:30
Maneesh Gupta
4eca03b286
Merge branch 'amd-develop' into amd-master
...
Change-Id: I4d12b7ad56d743ea52e97a100f93818ee0fd916c
[ROCm/hip commit: b935a876f0 ]
2016-10-24 21:40:25 +05:30
pensun
5b80757b00
Modify hipStreamAddCallback test case to consider both NULL stream and stream
...
Change-Id: I8468c988f0f01c7d3f3176a01469d69bf7a68237
[ROCm/hip commit: 28aad46674 ]
2016-10-23 12:36:02 -05:00
pensun
ae0143e390
Add direct test for hipStreamAddCallback workaround
...
Change-Id: I890574eb30a76922888846882986edd0dc345309
[ROCm/hip commit: a7438ac3ee ]
2016-10-23 12:18:09 -05:00
pensun
9f4cb7d4de
Add workaround for hipStreamAddCallback function: call stream synchronize on host and then add execute the call back function
...
Change-Id: If361f8e053949904b19b9e09245d267f05e29f7b
[ROCm/hip commit: 1f11a9554e ]
2016-10-22 23:59:39 -05:00
Aditya Atluri
165f245dd7
changed docs to update support for memcpyToSymbol
...
Change-Id: I63169cb10e64033a92dafd46930f499cdf145a8d
[ROCm/hip commit: 6c92ffcf15 ]
2016-10-20 14:05:43 -05:00
Evgeny Mankov
638b1b14a9
[HIPIFY] Fix typo in option's help description
...
[ROCm/hip commit: d464c8010b ]
2016-10-20 18:57:52 +03:00
Evgeny Mankov
cf6bcd1b0e
[HIPIFY] Add missing options to tool's -help
...
Also HelpMessage with a description of the common command-line options related to the compilation database and input files is added.
[ROCm/hip commit: dae4b060bd ]
2016-10-20 18:29:24 +03:00
Ben Sander
548a902c4b
Fix P2P for async
...
Also improve HIP debug message: Add more DB_COPY1 messages. memcpyStr,
expand HIP_DB bitmask.
[ROCm/hip commit: 203348ac9b ]
2016-10-20 10:02:23 -05:00
Aditya Atluri
417c0c18d0
Added support for constant memory
...
1. Added support for constant memory
2. Added test which uses memcpytosymbol for constant memory
3. Corrected code error on nvcc path
Change-Id: I2ab69f516832bf7a037132ac81273ea6f5107401
[ROCm/hip commit: 48f6d52e7c ]
2016-10-20 09:57:53 -05:00
Maneesh Gupta
525a2fcf75
Merge branch 'amd-develop' into amd-master
...
Change-Id: I6b59c6f0d187685344e0444f769e19454a2c6ef0
[ROCm/hip commit: 6f499ada29 ]
2016-10-20 14:36:38 +05:30
Rahul Garg
eb8bcfaebe
Quickfix for HCSWAP-60, support for hipHostMallocPortable
...
Change-Id: I2a4fcacea9d916ef222324fc9e9d8191f6dc12d0
[ROCm/hip commit: cd6eb7af78 ]
2016-10-20 10:44:30 +05:30
Sandeep Kumar
67ebfde50e
Add more apps to 2_Cookbook
...
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057
[ROCm/hip commit: d5c59830f3 ]
2016-10-19 12:58:16 -04:00