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
Aditya Atluri
adca18892a
added compiler flag for polaris
...
Change-Id: Ib14c14c0618982ac7b48f5bc704c04b54ff40ed9
[ROCm/clr commit: 1970ea07f1 ]
2016-10-13 14:16:48 -05:00
Ben Sander
4c69e2c2f8
Fix HIP_USE_PRODUCT_NAME detection.
...
Change-Id: I6879ec3a11845bea66a18a9328bd4eaf54713420
[ROCm/clr commit: 45bc107ad0 ]
2016-10-13 11:51:53 -05:00
Ben Sander
004ca9fdfc
Remove hipblas.h header - this is now hosted in the hcBlas repot.
...
Change-Id: I5b3350c900741cb1aee75faf4547f2682a9ec385
[ROCm/clr commit: cfccd63b8c ]
2016-10-13 11:51:25 -05:00
Ben Sander
eea909d96f
fix file-not-found detection
...
Change-Id: Ida84923ed18b3ebf8ffcfd6ee84d8a72f611ecd3
[ROCm/clr commit: 1de3c1e450 ]
2016-10-13 11:43:49 -05:00
pensun
eecfd8e141
Add ifdef guard for the feature requires ROCm1.3
...
Change-Id: I7154517c47000c37fe5eb09a3c1cf2a9aacbe27c
[ROCm/clr commit: 0ac70e7184 ]
2016-10-13 10:57:31 -05:00
Aditya Atluri
b82a22ff7a
added constant memory property to 16KB
...
Change-Id: If067b4057c2e3fc0c26cf4604a1d4fac7f139b12
[ROCm/clr commit: e25a1e50b3 ]
2016-10-13 10:47:40 -05:00
Aditya Atluri
7b180aff34
Added HIP_SYMBOL macro to act as a wrapper between HCC and NVCC symbol name parameters
...
Change-Id: I008d028b1e29d5a00d0e449af388216396ad2f75
[ROCm/clr commit: 2a55ae10e8 ]
2016-10-13 10:31:56 -05:00
Aditya Atluri
a208e9be9c
added limit api support for nvcc
...
Change-Id: Ib6c939e44343158a70e0de7f107d21afc0d0efba
[ROCm/clr commit: 71b98fef5e ]
2016-10-12 21:06:30 -05:00
pensun
f638d13f7c
Change to query device name using HSA_AMD_AGENT_INFO_PRODUCT_NAME;
...
Note: this commit depends on ROCR runtime in ROCm 1.3 release.
Change-Id: I90385ef6d11ee8a1e8adae1d3fdf21747347544c
[ROCm/clr commit: 44cc44011b ]
2016-10-12 20:01:30 -05:00
Aditya Atluri
95c516907d
added copy right for hipTestDeviceLimit test
...
Change-Id: If63ff341a6723e3dac85f1eb37d53b59bc7962ad
[ROCm/clr commit: 49e4eec4f2 ]
2016-10-12 19:59:52 -05:00
Aditya Atluri
cd32c9418e
Added hipDeviceGetLimit api
...
1. hipDeviceGetLimit API for HCC path is added
2. Test for hipDeviceGetLimit API is added
3. The feature added only supports querying heap size
4. Corrected indents for malloc and free device functions
5. Removed redundant data structures
6. Added g_heap_malloc_size to store the heap size
Change-Id: If48d1b0ce9270e994f1c542cc283ddbb14746bbb
[ROCm/clr commit: e5325a1ab4 ]
2016-10-12 19:58:48 -05:00
Aditya Atluri
0a5761a1de
indent correction for square.cu
...
Change-Id: I2ca008e260b920ac3a503ad2a4bb28cd32300c98
[ROCm/clr commit: d8c0954e13 ]
2016-10-12 19:26:59 -05:00
Aditya Atluri
18a7a5ce5d
added copyright to module sample kernel file
...
Change-Id: If57e0761df63c902e1677084ff85106ec49df5de
[ROCm/clr commit: cb734a5b1b ]
2016-10-12 19:23:48 -05:00
Aditya Atluri
243855977b
changed copyright to appropriate format
...
Change-Id: I81488eb21243fd9dc9106290c06afaf65152b2ab
[ROCm/clr commit: 8f3e6fc81e ]
2016-10-12 19:14:17 -05:00
Aditya Atluri
9536444ee5
Added copyright for headers
...
Change-Id: I35843d8d3b6acd9553ce00150868e15e2baee1da
[ROCm/clr commit: e8029e4b5f ]
2016-10-12 19:12:35 -05:00
Aditya Atluri
caa6a298e7
added malloc and free device functions
...
1. Added malloc and free device functions
2. Added test which check malloc and free functions
TODO: Need to add support for multiple device. Works only on one device (multi device support id NOT available).
Change-Id: Id11fc36463915d6ad46c264d5a20c8feb2d2c17c
[ROCm/clr commit: 2918ff273d ]
2016-10-12 19:08:34 -05:00
Aditya Atluri
84476c5e33
changed memcpy and memset device functions
...
Change-Id: Ia7f450536a75fad4fe13c7fcf5e9e7a9b5450f52
[ROCm/clr commit: ff59ea76f1 ]
2016-10-11 17:43:15 -05:00
Aditya Atluri
ac89997057
changed hipTestDeviceSymbol test to compile for both nvcc and hcc path
...
Change-Id: I041770ad59d4f88d0c8d27d90cdc8a799935ada1
[ROCm/clr commit: 8e8939d775 ]
2016-10-11 13:50:31 -05:00
Aditya Atluri
41a18e4a01
added hipMemcpySymbol feature to nvcc path
...
Change-Id: I78d45036083fba62d2b2e4e58f9c72cb4e6eb54f
[ROCm/clr commit: 5274244f7e ]
2016-10-11 13:34:54 -05:00
Aditya Atluri
41077d99af
added more changes to memcpytosymbol
...
1. Refactored code to use HCC internal APIs rather than HCC copy APIs
2. Added hipMemcpyToSymbolAsync
3. Added test for hipMemcpyToSymbolAsync
4. Added new error hipErrorInvalidSymbol
Change-Id: I0e359b2d0ff5d682bbccdf9c2923e16b35e39497
[ROCm/clr commit: 0bf811b875 ]
2016-10-11 13:29:46 -05:00
Aditya Atluri
68b3ae7fce
Added feature for memcpy to Symbol
...
1. Currently works only for __attribute__((addrspace(1))
2. Need to pass in string for name of the variable
3. Added test to check functionality
Change-Id: I4c3cc1bf151cb5423e4aef59fcc4ad5693b31641
[ROCm/clr commit: 89b576da65 ]
2016-10-11 12:09:58 -05:00
Maneesh Gupta
cdc41c3432
packaging: create soft-links for .hipVersion & .buildInfo
...
Change-Id: Iabcd2224062ecd7742892d0574a74dced2d547b2
[ROCm/clr commit: 3f369d0599 ]
2016-10-11 11:15:10 +05:30
Maneesh Gupta
561719b913
.buildInfo -> .hipInfo & .version -> .hipVersion
...
Change-Id: I8023f4349621fd81c58615737b7e897649e0f7ca
[ROCm/clr commit: 7e277ef6e5 ]
2016-10-11 11:13:41 +05:30
Aditya Atluri
df5370763a
added threadfence feature for hcc
...
1. Added feature for __threadfence and __threadfence_block
2. Added feature for using LLVM IR files directly while compilation
3. Added test for threadfence and threadfence_block
Change-Id: Ib7e5d89b4cca1a135952b317e5809cd05b56a3c9
[ROCm/clr commit: 09c9953649 ]
2016-10-10 15:29:50 -05:00
Maneesh Gupta
4cef1070b2
Add back deprecated hipHostAlloc, hipMallocHost, hipFreeHost
...
Change-Id: Ib8494078c852b07e1958c3acc21fa1866542122c
[ROCm/clr commit: b59659f0c7 ]
2016-10-09 16:30:46 +05:30
Maneesh Gupta
c57d6b263e
hip_hcc package: set dependency on rocm-profiler only if COMPILE_HIP_ATP_MARKER=1
...
Change-Id: Ib0424a984546e9f770f280f8559b4a716badcc77
[ROCm/clr commit: 900746656c ]
2016-10-09 16:01:47 +05:30
Maneesh Gupta
2cd4fdb4ca
Fixed typos in packaging script for hip_hcc package
...
Change-Id: I79237e7364518066585d5c88bd54e3b30f832076
[ROCm/clr commit: 5dc8a6a9e8 ]
2016-10-07 15:44:59 +05:30
Maneesh Gupta
6b41768920
Remove deprecated make and cmake files
...
Change-Id: I8cac0ec9cb997214559627425af207bbb9be0ddf
[ROCm/clr commit: c4dd17cce9 ]
2016-10-07 11:44:26 +05:30
Maneesh Gupta
7c9a869b4a
Set _binary_kernel_* symbol value to 1
...
Change-Id: I92255a8238a8084010662a3ccf5d624dd2d352c0
[ROCm/clr commit: 747c63bee5 ]
2016-10-06 09:50:35 +05:30
Elias Konstantinidis
9624b4ae88
Enabled tests for __mul24 & __umul24
...
[ROCm/clr commit: 49534c5ea9 ]
2016-10-06 09:29:56 +05:30
Elias Konstantinidis
2f797fe430
Added __mul24 & __umul24 documentation entry
...
[ROCm/clr commit: 4c8be4c655 ]
2016-10-06 09:29:45 +05:30
Elias Konstantinidis
c7da2fe434
Added support for __mul24 and __umul24
...
[ROCm/clr commit: adc763f440 ]
2016-10-06 09:29:36 +05:30
Maneesh Gupta
99d47a0850
clang-hipify -> hipify-clang in documentation
...
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6
[ROCm/clr commit: eb1fce0d77 ]
2016-10-05 23:07:14 +05:30
Maneesh Gupta
5d19348868
hip_doc package: Update markdown to html script
...
Change-Id: Ic7fe4f4df71621789ef4c0ce8103752ea32f3fd8
[ROCm/clr commit: 398d45c677 ]
2016-10-05 23:01:52 +05:30
Maneesh Gupta
85bf3aa346
Update hip_hcc packaging steps
...
Change-Id: I0ab16d8aef1dd33a971f73b3a6faa067df495d55
[ROCm/clr commit: eb78b13a6f ]
2016-10-05 22:58:04 +05:30