Maneesh Gupta
d6a5df1ca2
Make it easier to switch between HIP library formats
...
Change-Id: Id16406795a81f4bb64dbcb76b9b8763ffe59aac6
[ROCm/hip commit: 1d12e8cb1c ]
2016-08-19 13:07:22 +05:30
Maneesh Gupta
95ebdb396d
CMakeLists: use macro for appending to config file
...
Change-Id: I71ca3769b58b146f95368c2a2f6615c1eb47e121
[ROCm/hip commit: e6993e5e3d ]
2016-08-19 12:17:00 +05:30
Maneesh Gupta
1019edc63c
Fix version related bug in CMakeLists.txt
...
Change-Id: I31c567575185a4e85f5f24d3f105f7cb1beed425
[ROCm/hip commit: d9a2af3a12 ]
2016-08-18 13:56:25 +05:30
Aditya Atluri
e582b27f7f
Added kernel compilation driver apis
...
1. Added 2 new driver apis, hipModuleLoad, hipModuleGetFunction
Change-Id: If464a7fad178121e3da791c7ac9e17ebc01a9cd0
Issues: When a sample written with them shows Aborted (core dumped) when exiting
[ROCm/hip commit: 3d27bbd3db ]
2016-08-16 14:36:25 -05:00
Maneesh Gupta
12dab9cdc0
Several improvements to hipcc, hipconfig and CMakeLists.txt
...
- moved hip base version information back to hipconfig
- fixed bug in hip patch version generation
- renamed .hipconfig to .buildInfo
- HCC_HOME is logged to .buildInfo only when HIP_DEVELOPER environment
- variable is defined
- hipcc and hipconfig require perl 5.10.1 or above
- replaced unless defined with logic-defined or
- added ROCM_TARGET for carrizo
- moved config parsing to a subroutine
- config parsing does not set VALID key anymore
- hipcc honors HCC_HOME environment variable above buildInfo
- hip_base package now bundles .version in bin directory
Change-Id: Iaeea6d7529671220b02e07337946aaee0af90310
[ROCm/hip commit: cd8c8171b7 ]
2016-08-14 16:22:25 +05:30
Maneesh Gupta
2880d1230f
Updates to HIP version string format
...
HIP patch version is now a monotonically increasing number
Change-Id: Ia6e35794b702bbd2018c502564d0a65997819687
[ROCm/hip commit: 0827e44a90 ]
2016-08-12 23:21:37 +05:30
Maneesh Gupta
c0398a8de6
Fix build issues due to refactoring changes
...
Change-Id: I0a709ff4864244ba1b49e1a25327e3901ed6e17f
[ROCm/hip commit: 76eeaf4fbb ]
2016-08-09 22:49:32 +05:30
Ben Sander
db8c7e97bd
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
[ROCm/hip commit: 8f402132ba ]
2016-08-08 17:49:02 -05:00
Maneesh Gupta
ea3ad49a8c
.hipconfig now lives in lib
...
Also moved reading .hipconfig to begining of hipcc
Change-Id: Ibb9d32bef64a79f189aa037c36814759c8cc8052
[ROCm/hip commit: bc394505cc ]
2016-08-03 12:01:48 +05:30
scchan
41da8068f1
compile all hip objects with -fPIC so that they work in a shared library
...
Change-Id: I1f8355d4a81dbd5f408062c317c16a5efc668876
[ROCm/hip commit: 2f6ac8c36e ]
2016-08-03 11:48:46 +05:30
Maneesh Gupta
0229cddf67
Only create .hipconfig on install
...
Change-Id: I9c20440023401f5794b33a0165e0918372783a68
[ROCm/hip commit: c38d0466b8 ]
2016-08-03 11:25:59 +05:30
Aditya Atluri
8c104aaeeb
Added configuration file to be used by hipcc
...
1. CMake will create .hip-config file in bin directory
Future Work: Need to make changes to hipcc to read the file
Change-Id: Ia7dc48d43787921d5af4ab07d7a5befbcf904465
[ROCm/hip commit: 9c45d9eaed ]
2016-08-02 15:45:46 -05:00
Maneesh Gupta
cfd8b8f0c4
Fix using ATP markers
...
Change-Id: If2d04f80b580237426c569737551e2001a8cd35a
[ROCm/hip commit: b23fad53cc ]
2016-07-21 16:02:51 +05:30
Maneesh Gupta
0b463d3617
Set cmake policy CMP0037 to old behavior for newer cmake versions
...
Change-Id: Ib2a7da53a238a489e73d6c006c50f12f07f866a1
[ROCm/hip commit: 779502e4a2 ]
2016-07-19 06:52:38 +05:30
Maneesh Gupta
052c9b29a0
Fix whitespace in cmakefile
...
Change-Id: Ide671e19ea15d57cc8619ec57ad10bca615b3858
[ROCm/hip commit: 9e5f5c79c8 ]
2016-07-12 13:00:42 +05:30
Maneesh Gupta
350225029f
cmake queries hip version from hipconfig
...
Change-Id: I8c65ca508ddc288111eaa1d818213c72ef27ac1b
[ROCm/hip commit: 723e0def03 ]
2016-07-12 12:40:35 +05:30
Aditya Atluri
aa0139f89f
moved half support to a source file
...
Change-Id: I7c09b41877e22c1b743dea25a585e5307427dafd
[ROCm/hip commit: 5633cc34cc ]
2016-06-30 18:23:29 +05:30
Rahul Garg
b77ff1168c
Included code to calculate value of maxThreadsPerMultiprocessor property
...
Change-Id: Ie7cad7442f36a7163e715048de5a309febc28664
[ROCm/hip commit: 3029be78b8 ]
2016-06-24 15:10:11 +05:30
Maneesh Gupta
81c454dc26
Add target 'make doc' to cmakelists.txt
...
Change-Id: I382201b02cf3cc66bc64bd305d7f8549e25c2bb9
[ROCm/hip commit: 39ae4c25c1 ]
2016-06-21 08:13:19 +05:30
Maneesh Gupta
845c56df3a
cmake picks HIP version from hipcc
...
Change-Id: I334d9573bb6d60fe907a13083486f06504a621e4
[ROCm/hip commit: 01032b91d9 ]
2016-06-14 14:57:56 +05:30
Maneesh Gupta
983ceac9f9
dynamically compute HCC version dependency for hip_hcc package
...
Change-Id: I5eca934826f12ee002416b299fd562db0f60056c
[ROCm/hip commit: 6d2c763b26 ]
2016-05-09 06:01:33 -04:00
Maneesh Gupta
7db31dbcc7
Add packaging scripts for creating hip_samples package
...
Change-Id: I38205ce851ee2d8affce532c80c9a9fd4f66b345
[ROCm/hip commit: 9a25f6ad8f ]
2016-05-06 14:39:10 +05:30
Maneesh Gupta
4fc6e40c8f
Bump HIP package version to 0.86.00
...
[ROCm/hip commit: 5b39cd8e22 ]
2016-05-04 17:17:04 +05:30
Maneesh Gupta
766c56d783
Modify cmake for better clang hipify integration
...
[ROCm/hip commit: c44b4a4356 ]
2016-05-04 14:44:00 +05:30
Ben Sander
7421aa54a8
Add clang-hipify as optional make step
...
[ROCm/hip commit: 357491edd1 ]
2016-05-02 10:20:00 -05:00
Ben Sander
8cc6e57a2b
merge
...
[ROCm/hip commit: f50fe0a46c ]
2016-04-28 18:24:33 -05:00
Aditya Atluri
15fc041fd6
added support for __ldg
...
[ROCm/hip commit: 805b268ad4 ]
2016-04-20 12:25:40 -05:00
Ben Sander
3817725dad
test update
...
[ROCm/hip commit: 8ec1aad95d ]
2016-04-17 07:54:39 -05:00
Ben Sander
698ea7f30f
Move HIP_HCC define to CMake
...
[ROCm/hip commit: 65abde6626 ]
2016-04-17 07:40:04 -05:00
Maneesh Gupta
32e35b671d
Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
...
[ROCm/hip commit: 5a31bad821 ]
2016-04-15 12:56:31 +05:30
Maneesh Gupta
425c5f9ade
Split hip packages into smaller components
...
[ROCm/hip commit: f0e11d9856 ]
2016-04-15 12:13:04 +05:30
Maneesh Gupta
4ee0549d4f
Change default HIP installation to /opt/rocm/hip
...
[ROCm/hip commit: 18af18476b ]
2016-04-14 16:36:55 +05:30
Maneesh Gupta
7dbb93af4e
Refactor and add support for nvcc path in cmake
...
[ROCm/hip commit: 119de66cd2 ]
2016-04-12 12:42:12 +05:30
Maneesh Gupta
0b482f8876
Initial support for building HIP packages
...
[ROCm/hip commit: a2cd2ea6fa ]
2016-04-11 16:33:28 +05:30
Daniil Fukalov
ab4c5f58d8
reverting accidentially removed files
...
[ROCm/hip commit: aa36e86dc3 ]
2016-04-07 01:00:19 +03:00
dfukalov
945336af90
moved clang-hipify tests to common folder "tests", updated cmake files to use downloadable clang+llvm binary package
...
[ROCm/hip commit: f9cf240f7a ]
2016-04-06 20:44:19 +03:00
dfukalov
45623b902d
initial cmake add
...
[ROCm/hip commit: 53cca9a20a ]
2016-04-05 00:10:21 +03:00
Maneesh Gupta
733e0b417e
Initial (non-default) support for shared library HIP
...
[ROCm/hip commit: bad947ae8b ]
2016-04-01 16:08:49 +05:30
Maneesh Gupta
86dc2e5f77
Revert "Initial (non-default) support for shared library HIP"
...
This reverts commit 44cdc3c6a5 .
[ROCm/hip commit: 9fd0a182f6 ]
2016-04-01 16:07:07 +05:30
Maneesh Gupta
44cdc3c6a5
Initial (non-default) support for shared library HIP
...
[ROCm/hip commit: 9de57129b4 ]
2016-04-01 15:45:32 +05:30
Maneesh Gupta
010529ecf5
Change HCC_DIR -> HCC_HOME, HSA_DIR -> HSA_PATH and HIP_INSTALL_PATH -> CMAKE_INSTALL_PREFIX
...
[ROCm/hip commit: 06dd3444b2 ]
2016-04-01 13:48:37 +05:30
Maneesh Gupta
02dfa83d06
Fix path comparison for install components in cmake
...
[ROCm/hip commit: 6dec2306da ]
2016-04-01 12:13:22 +05:30
Maneesh Gupta
c4205e5074
Cleaned up cmake
...
[ROCm/hip commit: a8767f71c1 ]
2016-03-31 17:42:29 +05:30
Aditya Atluri
59e056e3e9
Revert to multiple output files than single .a lib
...
[ROCm/hip commit: 9de4c04a0a ]
2016-03-30 07:54:18 -05:00
Maneesh Gupta
a135881829
Implement more complex HCC, HSA directory selection logic
...
[ROCm/hip commit: 5684cd67b9 ]
2016-03-30 13:58:38 +05:30
Aditya Atluri
ffe185d731
Calling intrinsics from global kernel
...
[ROCm/hip commit: 61cd2bb399 ]
2016-03-29 11:17:55 -05:00
Maneesh Gupta
e4227684b2
Fixed cmake not honoring user specified HIP_INSTALL_DIR
...
[ROCm/hip commit: 40cc748678 ]
2016-03-28 22:23:27 +05:30
Maneesh Gupta
513a91d25c
Improve cmake settings
...
[ROCm/hip commit: 1806979e72 ]
2016-03-28 21:55:03 +05:30
Aditya Atluri
2005380573
corrected cmake
...
[ROCm/hip commit: ae46b221df ]
2016-03-24 11:17:57 -05:00
Ben Sander
60a2a67d46
Provcide more flexiblity in using HIP_PATH to control installation.
...
Also improve docs for developers / contributing.
[ROCm/hip commit: f3ad047194 ]
2016-03-24 13:33:07 -05:00