Ben Sander
5e20bb6370
Don't call allow-access if allocating device's only peer is self.
...
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d
[ROCm/clr commit: f8b356dce8 ]
2016-10-27 23:09:31 -05:00
Ben Sander
4029bc31e6
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/clr commit: 7d69e858a5 ]
2016-10-27 23:09:31 -05:00
Ben Sander
3b4fc56e30
Update docs and improve hipcc error message.
...
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47
[ROCm/clr commit: 03caa1de8a ]
2016-10-27 23:09:31 -05:00
pensun
33b6db2322
Add missing hipStream typedef for NV path
...
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341
[ROCm/clr commit: dcdb7f6c68 ]
2016-10-27 13:34:14 -05:00
pensun
6f4ae9b9c4
Remove extra semicolons and extra spaces in header on NV path
...
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b
[ROCm/clr commit: ee126928b1 ]
2016-10-25 15:29:52 -05:00
Aditya Atluri
c58f5af811
reverted change for cache size query
...
Change-Id: I44a1f43818cd287a2a3b6265f43d183f9bd5b71c
[ROCm/clr commit: 8145e1b129 ]
2016-10-25 11:03:35 -05:00
Aditya Atluri
71ac51b965
correct cachesize to output correct value
...
Change-Id: I5db031591eb718b0c12e78a35e4b19349de9526d
[ROCm/clr commit: e28f65604b ]
2016-10-25 09:33:45 -05:00
Maneesh Gupta
715afe3249
hip_hcc package: install hip_ir.ll to lib folder
...
Change-Id: Ieaa4ff83597c211f221b4c1b0b93e08ad7c92ea6
[ROCm/clr commit: 5b4127abda ]
2016-10-25 15:42:24 +05:30
Maneesh Gupta
7baad0e7c1
hipcc: Turn back linking hip_ir.ll by default
...
Change-Id: I9cec5a1a5a4791eddf6ef3e3332143ffc3ceadb6
[ROCm/clr commit: 2d9ff6acd6 ]
2016-10-25 12:26:54 +05:30
pensun
b98e815865
Modify hipStreamAddCallback test case to consider both NULL stream and stream
...
Change-Id: I8468c988f0f01c7d3f3176a01469d69bf7a68237
[ROCm/clr commit: 4a93beb3b0 ]
2016-10-23 12:36:02 -05:00
pensun
57fab304c7
Add direct test for hipStreamAddCallback workaround
...
Change-Id: I890574eb30a76922888846882986edd0dc345309
[ROCm/clr commit: ad09270d7b ]
2016-10-23 12:18:09 -05:00
pensun
b0a039cd5e
Add workaround for hipStreamAddCallback function: call stream synchronize on host and then add execute the call back function
...
Change-Id: If361f8e053949904b19b9e09245d267f05e29f7b
[ROCm/clr commit: 7a0375854a ]
2016-10-22 23:59:39 -05:00
Aditya Atluri
32ee434c5e
changed docs to update support for memcpyToSymbol
...
Change-Id: I63169cb10e64033a92dafd46930f499cdf145a8d
[ROCm/clr commit: c39b40db58 ]
2016-10-20 14:05:43 -05:00
Evgeny Mankov
2a3dd02bbb
[HIPIFY] Fix typo in option's help description
...
[ROCm/clr commit: 4831ac9f7e ]
2016-10-20 18:57:52 +03:00
Evgeny Mankov
62c000d2fa
[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/clr commit: d9b2ed07c3 ]
2016-10-20 18:29:24 +03:00
Ben Sander
3dea23ed3b
Fix P2P for async
...
Also improve HIP debug message: Add more DB_COPY1 messages. memcpyStr,
expand HIP_DB bitmask.
[ROCm/clr commit: 714968cdc6 ]
2016-10-20 10:02:23 -05:00
Aditya Atluri
d4a090e7fb
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/clr commit: 3a1c8f9259 ]
2016-10-20 09:57:53 -05:00
Rahul Garg
41f4571b62
Quickfix for HCSWAP-60, support for hipHostMallocPortable
...
Change-Id: I2a4fcacea9d916ef222324fc9e9d8191f6dc12d0
[ROCm/clr commit: b4702f3912 ]
2016-10-20 10:44:30 +05:30
Sandeep Kumar
e41aa1483a
Add more apps to 2_Cookbook
...
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057
[ROCm/clr commit: d025ed980b ]
2016-10-19 12:58:16 -04:00
Maneesh Gupta
6bd6575ce0
bin/hipcc: Simplify HIP_HCC_SYS_INCLUDES_WA logic
...
Change-Id: I2d20d6edc1b5c0d065ba6ce6179441fa98712a87
[ROCm/clr commit: 5f2bf5219a ]
2016-10-19 12:57:33 +05:30
Maneesh Gupta
c1bac0d350
Make directed tests linking depend upon HIP_PATH/lib/*
...
Change-Id: I35203fc655325428e241a541f64c103fb2004b6e
[ROCm/clr commit: e1b658caff ]
2016-10-19 12:41:11 +05:30
Ben Sander
42685bcd2a
Make HIP_HCC_SYS_INCLUDES_WA disable unless explicitly set =1
...
Change-Id: Ibfd1e049d51e420bd514b71e3652bc7029dfd4ba
[ROCm/clr commit: 965e2e00a8 ]
2016-10-18 22:45:45 -05:00
Ben Sander
e53561c960
Add HIP_WAIT_MODE env var.
...
Also weaken cases where hipSetDeviceFlags returns hipErrorInvalidValue.
Change-Id: I7f113338be6fe498eaf1ab40fd0fd6b23849bb5e
[ROCm/clr commit: d4b23da91f ]
2016-10-18 22:27:16 -05:00
Ben Sander
90bc4809b0
Several fixes/improvements to directed tests.
...
Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62
[ROCm/clr commit: 4acb7dd947 ]
2016-10-18 22:27:16 -05:00
Ben Sander
7fdf4828ec
Add hipDeviceSchedule* support to queue wait
...
Change-Id: Iffa7a356500b026f3737c3f5719ca9f62b10d855
[ROCm/clr commit: c7303d5924 ]
2016-10-18 22:27:16 -05:00
Ben Sander
e9997ea992
Remove some TODO items
...
Change-Id: I7e9de2e43a8584f8dc9ee6d45c8ed00ca465f591
[ROCm/clr commit: 0787c41ac0 ]
2016-10-18 22:27:16 -05:00
Ben Sander
f6641ba37f
Fix event flag detection.
...
Change-Id: I0b0ba66c2339021320fe3d7760fdad1a0490a76b
[ROCm/clr commit: 214673a4fb ]
2016-10-18 22:27:16 -05:00
Ben Sander
1fc5bf0643
Update docs for event, review event TODO.
...
Change-Id: Iec491f9f22df163f01c0af6639fcbe33c81acdcc
[ROCm/clr commit: 54b20dbe0d ]
2016-10-18 22:27:16 -05:00
Ben Sander
dca9e31f7f
Enhance .gitignore
...
Change-Id: I03ae62bad2db181538a4487163ac604229862d16
[ROCm/clr commit: 7aef2b0eca ]
2016-10-18 22:27:16 -05:00
Ben Sander
d6ffcdb9b0
Move some internal headers from "include/hip/" to src.
...
Change-Id: I7041bd5c803d9318979f4a7c1d658445c614691e
[ROCm/clr commit: 403cdf93c3 ]
2016-10-18 22:27:16 -05:00
Evgeny Mankov
9caa8a9351
[hipcc] A workaround for [SWDEV-105366] HCC's omitting of system includes while compiling kernel code leads to 'file not found' error.
...
Missing includes are set explicitly.
Workaround is switched on by default, to disable it set HCC_SYS_INCLUDES_WA=0.
WA will be removed after fixing [SWDEV-105366].
[ROCm/clr commit: 5c7146eb62 ]
2016-10-18 22:38:04 +03:00
Aditya Atluri
907a968bc0
make sure the global variable does not give zero
...
Change-Id: I299c4e74740e5df155a562b0ee609ac6539a9b28
[ROCm/clr commit: 9d7a82d6bf ]
2016-10-18 10:09:52 -05:00
Maneesh Gupta
d69342946b
Update packaging scripts to handle updated HCC package versioning
...
Change-Id: Id93267b7cf9fd05e60004cc6c45b5fc7d10b3130
[ROCm/clr commit: 5d710c8802 ]
2016-10-17 12:48:05 +05:30
Maneesh Gupta
4aa615be6a
Disable linking hip_ir.ll by default
...
Change-Id: I4917f0d75c66eee347de41bc16d999fc563a5be2
[ROCm/clr commit: 3c0327451d ]
2016-10-16 11:14:42 +05:30
Maneesh Gupta
789d6cc42e
Rename hipComplex.h -> hip_complex.h
...
Change-Id: I86af4ddccc6ebb19606156b459e3065d2c979108
[ROCm/clr commit: 4a87f78fa6 ]
2016-10-16 11:02:36 +05:30
Maneesh Gupta
dbfd285aae
samples: Updated copyright header
...
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84
[ROCm/clr commit: 945a09c241 ]
2016-10-15 23:05:04 +05:30
Maneesh Gupta
2655c96ab9
src/*: Update copyright header
...
Change-Id: I455f5d0d12fe9cb39a3ba873bd22b4c25ed07cbf
[ROCm/clr commit: 88d6cad3fb ]
2016-10-15 22:55:22 +05:30
Maneesh Gupta
96ce4c8e2c
include headers: Update copyright header and fix line endings
...
Change-Id: If2b0855f4ebf1e966edb54de5667687d154cc574
[ROCm/clr commit: a34090e9c5 ]
2016-10-15 22:52:10 +05:30
Maneesh Gupta
e5e1d0ec1d
Bump HIP version to 1.0
...
Change-Id: Ie215a1ad4c1bf9b4a0ce94f750ddacce668bbc63
[ROCm/clr commit: 3b2dbd2a6d ]
2016-10-15 22:42:45 +05:30
Maneesh Gupta
5e015401a4
Fix typo in CONTRIBUTING.md
...
Change-Id: I1c456eb59b8359059cdce98b5ed153516104b787
[ROCm/clr commit: ab5dccf9df ]
2016-10-15 22:42:20 +05:30
Ben Sander
fc7eefb5c8
Cleanup files from code review.
...
- Remove some stale code
- Update docs
- Correct define for __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__
Change-Id: Ic5e3cdb8269b1c18f6d2693700b55e08c4d0080e
[ROCm/clr commit: aa3e04cf9a ]
2016-10-15 11:51:20 -05:00
Ben Sander
57adbf2a17
Add code to use new HCC API accelerator_view::dispatch_hsa_kernel.
...
Disabed by default, can enable with USE_DISPATCH_HSA_KERNEL=1
Change-Id: I7a6ba76f2bada34952ed47f5335ce695fa2faea5
[ROCm/clr commit: dcadaadb24 ]
2016-10-14 23:46:29 -05:00
Ben Sander
b375932a4b
Add LLVM/LC version info
...
Change-Id: I6d0f49c75777744dbbca255d45681ed663b401c0
[ROCm/clr commit: e5da443535 ]
2016-10-14 23:45:13 -05:00
Ben Sander
5fb10e5742
Refactor module API test.
...
- Add PASSED/FAIL indication.
- Set args using struct rather than void* array.
Change-Id: Ic924f88c49cc46979b12b7fef8650081e3b5f58c
[ROCm/clr commit: 4668a08783 ]
2016-10-14 23:19:25 -05:00
Maneesh Gupta
426d597cc6
Remove orphaned hip_blas.h from hcc_detail and nvcc_detail
...
Change-Id: I7e2dda475b538d30942c52d86fbdb213918c630c
[ROCm/clr commit: 09b3d87767 ]
2016-10-14 12:55:50 +05:30
Maneesh Gupta
acae18c4ac
Remove incorrect executable-bit from non-executable files
...
Change-Id: Iacc434374721e01f7d75d0ab54bceabe0b337f54
[ROCm/clr commit: 2e93d2d5d2 ]
2016-10-14 12:53:13 +05:30
Aditya Atluri
aa979ccf60
changed malloc device functions test to work on multiple devices
...
Change-Id: I69ef9002f2f041fef138993aed5a03d4d410a29f
[ROCm/clr commit: 366c322416 ]
2016-10-13 18:27:56 -05:00
Evgeny Mankov
43ee843aa9
[HIPIFY] Initial support of CUDA Limits.
...
[ROCm/clr commit: 5c6e741b92 ]
2016-10-13 23:32:52 +03:00
Aditya Atluri
f4bec1719f
added limit enum to nvcc
...
Change-Id: If9cb6b1205631da36ec18a84f736f2f2f5155885
[ROCm/clr commit: 943878eff4 ]
2016-10-13 15:15:02 -05:00
Aditya Atluri
2829a64391
changed hipLimit to hipLimit_t and data type to enum
...
Change-Id: I94f408cdcac4b0bb38801d58709b68e9630d44d0
[ROCm/clr commit: 34ab2a55ab ]
2016-10-13 15:13:11 -05:00