コミットグラフ

59 コミット

作成者 SHA1 メッセージ 日付
Maneesh Gupta 87d7e95693 CMakeLists.txt: Change default to HIP static library
Change-Id: I9b233c6873d0a69d9aedeb1f9f3773e4258c6f44
2016-09-07 19:22:38 +05:30
Maneesh Gupta 295df9e006 CMakeLists.txt: install cmake folder
Change-Id: I5367281c62529b4b832c77ea93e3994a5f9133f4
2016-09-02 15:08:36 +05:30
Maneesh Gupta 1d12e8cb1c Make it easier to switch between HIP library formats
Change-Id: Id16406795a81f4bb64dbcb76b9b8763ffe59aac6
2016-08-19 13:07:22 +05:30
Maneesh Gupta e6993e5e3d CMakeLists: use macro for appending to config file
Change-Id: I71ca3769b58b146f95368c2a2f6615c1eb47e121
2016-08-19 12:17:00 +05:30
Maneesh Gupta d9a2af3a12 Fix version related bug in CMakeLists.txt
Change-Id: I31c567575185a4e85f5f24d3f105f7cb1beed425
2016-08-18 13:56:25 +05:30
Aditya Atluri 3d27bbd3db 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
2016-08-16 14:36:25 -05:00
Maneesh Gupta cd8c8171b7 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
2016-08-14 16:22:25 +05:30
Maneesh Gupta 0827e44a90 Updates to HIP version string format
HIP patch version is now a monotonically increasing number

Change-Id: Ia6e35794b702bbd2018c502564d0a65997819687
2016-08-12 23:21:37 +05:30
Maneesh Gupta 76eeaf4fbb Fix build issues due to refactoring changes
Change-Id: I0a709ff4864244ba1b49e1a25327e3901ed6e17f
2016-08-09 22:49:32 +05:30
Ben Sander 8f402132ba Add initial context implementation.
APIs: hipInit, hipCtxCreate.
Track TLS default ctx.  Set deviceID now changes the ctx.
Add first context test.

Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
2016-08-08 17:49:02 -05:00
Maneesh Gupta bc394505cc .hipconfig now lives in lib
Also moved reading .hipconfig to begining of hipcc

Change-Id: Ibb9d32bef64a79f189aa037c36814759c8cc8052
2016-08-03 12:01:48 +05:30
scchan 2f6ac8c36e compile all hip objects with -fPIC so that they work in a shared library
Change-Id: I1f8355d4a81dbd5f408062c317c16a5efc668876
2016-08-03 11:48:46 +05:30
Maneesh Gupta c38d0466b8 Only create .hipconfig on install
Change-Id: I9c20440023401f5794b33a0165e0918372783a68
2016-08-03 11:25:59 +05:30
Aditya Atluri 9c45d9eaed 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
2016-08-02 15:45:46 -05:00
Maneesh Gupta b23fad53cc Fix using ATP markers
Change-Id: If2d04f80b580237426c569737551e2001a8cd35a
2016-07-21 16:02:51 +05:30
Maneesh Gupta 779502e4a2 Set cmake policy CMP0037 to old behavior for newer cmake versions
Change-Id: Ib2a7da53a238a489e73d6c006c50f12f07f866a1
2016-07-19 06:52:38 +05:30
Maneesh Gupta 9e5f5c79c8 Fix whitespace in cmakefile
Change-Id: Ide671e19ea15d57cc8619ec57ad10bca615b3858
2016-07-12 13:00:42 +05:30
Maneesh Gupta 723e0def03 cmake queries hip version from hipconfig
Change-Id: I8c65ca508ddc288111eaa1d818213c72ef27ac1b
2016-07-12 12:40:35 +05:30
Aditya Atluri 5633cc34cc moved half support to a source file
Change-Id: I7c09b41877e22c1b743dea25a585e5307427dafd
2016-06-30 18:23:29 +05:30
Rahul Garg 3029be78b8 Included code to calculate value of maxThreadsPerMultiprocessor property
Change-Id: Ie7cad7442f36a7163e715048de5a309febc28664
2016-06-24 15:10:11 +05:30
Maneesh Gupta 39ae4c25c1 Add target 'make doc' to cmakelists.txt
Change-Id: I382201b02cf3cc66bc64bd305d7f8549e25c2bb9
2016-06-21 08:13:19 +05:30
Maneesh Gupta 01032b91d9 cmake picks HIP version from hipcc
Change-Id: I334d9573bb6d60fe907a13083486f06504a621e4
2016-06-14 14:57:56 +05:30
Maneesh Gupta 6d2c763b26 dynamically compute HCC version dependency for hip_hcc package
Change-Id: I5eca934826f12ee002416b299fd562db0f60056c
2016-05-09 06:01:33 -04:00
Maneesh Gupta 9a25f6ad8f Add packaging scripts for creating hip_samples package
Change-Id: I38205ce851ee2d8affce532c80c9a9fd4f66b345
2016-05-06 14:39:10 +05:30
Maneesh Gupta 5b39cd8e22 Bump HIP package version to 0.86.00 2016-05-04 17:17:04 +05:30
Maneesh Gupta c44b4a4356 Modify cmake for better clang hipify integration 2016-05-04 14:44:00 +05:30
Ben Sander 357491edd1 Add clang-hipify as optional make step 2016-05-02 10:20:00 -05:00
Ben Sander f50fe0a46c merge 2016-04-28 18:24:33 -05:00
Aditya Atluri 805b268ad4 added support for __ldg 2016-04-20 12:25:40 -05:00
Ben Sander 8ec1aad95d test update 2016-04-17 07:54:39 -05:00
Ben Sander 65abde6626 Move HIP_HCC define to CMake 2016-04-17 07:40:04 -05:00
Maneesh Gupta 5a31bad821 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa 2016-04-15 12:56:31 +05:30
Maneesh Gupta f0e11d9856 Split hip packages into smaller components 2016-04-15 12:13:04 +05:30
Maneesh Gupta 18af18476b Change default HIP installation to /opt/rocm/hip 2016-04-14 16:36:55 +05:30
Maneesh Gupta 119de66cd2 Refactor and add support for nvcc path in cmake 2016-04-12 12:42:12 +05:30
Maneesh Gupta a2cd2ea6fa Initial support for building HIP packages 2016-04-11 16:33:28 +05:30
Daniil Fukalov aa36e86dc3 reverting accidentially removed files 2016-04-07 01:00:19 +03:00
dfukalov f9cf240f7a moved clang-hipify tests to common folder "tests", updated cmake files to use downloadable clang+llvm binary package 2016-04-06 20:44:19 +03:00
dfukalov 53cca9a20a initial cmake add 2016-04-05 00:10:21 +03:00
Maneesh Gupta bad947ae8b Initial (non-default) support for shared library HIP 2016-04-01 16:08:49 +05:30
Maneesh Gupta 9fd0a182f6 Revert "Initial (non-default) support for shared library HIP"
This reverts commit 9de57129b4.
2016-04-01 16:07:07 +05:30
Maneesh Gupta 9de57129b4 Initial (non-default) support for shared library HIP 2016-04-01 15:45:32 +05:30
Maneesh Gupta 06dd3444b2 Change HCC_DIR -> HCC_HOME, HSA_DIR -> HSA_PATH and HIP_INSTALL_PATH -> CMAKE_INSTALL_PREFIX 2016-04-01 13:48:37 +05:30
Maneesh Gupta 6dec2306da Fix path comparison for install components in cmake 2016-04-01 12:13:22 +05:30
Maneesh Gupta a8767f71c1 Cleaned up cmake 2016-03-31 17:42:29 +05:30
Aditya Atluri 9de4c04a0a Revert to multiple output files than single .a lib 2016-03-30 07:54:18 -05:00
Maneesh Gupta 5684cd67b9 Implement more complex HCC, HSA directory selection logic 2016-03-30 13:58:38 +05:30
Aditya Atluri 61cd2bb399 Calling intrinsics from global kernel 2016-03-29 11:17:55 -05:00
Maneesh Gupta 40cc748678 Fixed cmake not honoring user specified HIP_INSTALL_DIR 2016-03-28 22:23:27 +05:30
Maneesh Gupta 1806979e72 Improve cmake settings 2016-03-28 21:55:03 +05:30