Граф коммитов

46 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 6a2e92f7c8 .hipconfig now lives in lib
Also moved reading .hipconfig to begining of hipcc

Change-Id: Ibb9d32bef64a79f189aa037c36814759c8cc8052
2016-08-03 12:01:48 +05:30
Maneesh Gupta 1381681335 hipcc reads .hipconfig
hipcc dies if HCC_VERSION is not same as the one used to build HIP

Change-Id: I180c0108812fe5cb6c5304477557c524a4a61f75
2016-08-03 11:32:08 +05:30
Maneesh Gupta 25c65c5fc4 Merge branch 'release_0.92.00' into amd-develop 2016-08-03 09:10:44 +05:30
Maneesh Gupta 58097bb717 Fix hipcc to work correctly when HIP_ATP_MARKER is not defined
Change-Id: I7cc525daccf896704e6ccf6d04ed395fda622031
2016-08-03 09:08:40 +05:30
Ben Sander b9e48d6066 Make HCC ignore register keyword
- (previously would emit a warning)
- Also tweak documentation.

Change-Id: I0f4f00f82f8cc53d420112570f2d7675535e6aea
2016-07-26 12:13:48 -05:00
Maneesh Gupta dffed956fb Fix using ATP markers
Change-Id: If2d04f80b580237426c569737551e2001a8cd35a
2016-07-21 16:02:51 +05:30
Maneesh Gupta 0eb4f5e108 Handle linker warning correctly
Change-Id: Ifca5886e31b4551603944c2b90a8e532442e889f
2016-07-15 10:40:56 +05:30
Maneesh Gupta 1be2dbb150 Add specifying ROCm target support to HIP
Change-Id: I42930d8ccf0dafe408ce5bebe2d95f99e544ee8d
2016-07-15 10:08:27 +05:30
Maneesh Gupta b0dc9d208a Whitespace cleanup in hipcc
Change-Id: I36d32808e9e393df44ffd80b49d09ccf68b5751e
2016-07-13 11:26:03 +05:30
Maneesh Gupta 1b184c8527 Move hip version information to hipconfig
Change-Id: I2892a9eb9356ac5310b89a433d858c1c3eb986ee
2016-07-11 16:38:41 +05:30
Aditya Atluri 38720f8a4e moved half support to a source file
Change-Id: I7c09b41877e22c1b743dea25a585e5307427dafd
2016-06-30 18:23:29 +05:30
Rahul Garg 226aa917e7 Included code to calculate value of maxThreadsPerMultiprocessor property
Change-Id: Ie7cad7442f36a7163e715048de5a309febc28664
2016-06-24 15:10:11 +05:30
Maneesh Gupta 61641cb8e8 Updated version string
Change-Id: I86695e5deba87ef3a8d390d9a78a88be815dff0e
2016-06-21 08:39:47 +05:30
Maneesh Gupta 29ca733be2 hipcc supports printing HIP version
Change-Id: I9f1cd9a29ded9d354b9ebe265dcd91b060e8fc08
2016-06-14 14:51:03 +05:30
Ben Sander a35e995244 libstdc++ is default 2016-05-03 11:14:27 -05:00
Ben Sander 6a960aff38 add fallback to libc++ 2016-05-02 23:50:39 -05:00
Ben Sander 20043d602e Merge branch 'privatestaging' into grid_launch 2016-05-02 18:38:20 -05:00
Ben Sander c5bec313ee Use hipconfig to determine platform 2016-05-02 11:33:22 -05:00
Ben Sander 06e54694c5 hipcc uses -stdlib=stdlibc++ by default.
hipcc switches to -stdlib=libc++ if user requests it.
hack to disable LDG.
2016-04-28 13:17:49 -05:00
Maneesh Gupta 02e6fc27f4 Merge branch 'release_0.84.00' into privatestaging
Conflicts:
	include/hcc_detail/hip_runtime.h
	src/hip_hcc.cpp
2016-04-22 10:55:58 +05:30
Aditya Atluri b493eac7e0 added support for __ldg 2016-04-20 12:25:40 -05:00
Maneesh Gupta 69f50d0ced Handle non-versioned so files being present only in rocm/lib 2016-04-15 16:20:35 +05:30
Maneesh Gupta cf4c3b0913 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa 2016-04-15 12:56:31 +05:30
Maneesh Gupta efe468bbab Change default HIP installation to /opt/rocm/hip 2016-04-14 16:36:55 +05:30
Aditya Atluri 5b38c9cffe added back hc flag 2016-04-11 13:04:13 -05:00
Aditya Atluri 42df534354 added C guard to hip_runtime.h 2016-04-11 13:01:02 -05:00
Maneesh Gupta 64ca5e466d Fix broken CUDA path in hipcc 2016-04-07 10:48:16 +05:30
Aditya Atluri a7590e3537 Corrected corner cases 2016-04-06 14:50:27 -05:00
Aditya Atluri 39f27984a8 Added feature for cross-compilation and seperated hcc api from hip api 2016-04-06 14:18:51 -05:00
Maneesh Gupta 7aad3bab84 Add c++abi to linker options for HCC 2016-04-02 22:32:05 +05:30
Maneesh Gupta a8879638b6 Initial (non-default) support for shared library HIP 2016-04-01 16:08:49 +05:30
Aditya Atluri b2b3eec95c Revert to multiple output files than single .a lib 2016-03-30 07:54:18 -05:00
Ben Sander 57783aad2d include codexl marker path, if found 2016-03-29 17:26:44 -05:00
Ben Sander bcba591852 Provcide more flexiblity in using HIP_PATH to control installation.
Also improve docs for developers / contributing.
2016-03-24 13:33:07 -05:00
Ben Sander 34976e357d Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).
2016-03-24 11:53:33 -05:00
Aditya Atluri c1ad70ad4b moved variables to headers 2016-03-23 12:59:52 -05:00
Aditya Atluri 64c4c70e4f WIP added modular feature for device apis 2016-03-23 07:54:01 -05:00
Ben Sander 004b4ada93 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 54704b59dd use codexl marker interface to mark HIP function/begin end.
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.
2016-03-23 01:17:53 -05:00
Maneesh Gupta dc1e863959 Fix hipcc from trying to compile object files 2016-03-03 09:47:37 +05:30
Ben Sander 3eb281aeff disable rocrv2, properly 2016-02-27 03:31:30 -06:00
Aditya Avinash Atluri aeb86755c3 Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1
2016-02-26 13:47:58 -06:00
Ben Sander 0cdbe1ff05 more work on async copies 2016-02-17 00:59:12 -06:00
Ben Sander 721508cc2f Create address tracker for am_alloc.
Tracks device where memory is allocated, pinned-host or device, and
more.

Uses memory-range-based lookups - so pointers that exist anywhere in

the range of hostPtr + size will find the associated AmPointerInfo.

The insertions and lookups use a self-balancing binary tree and
should support O(logN) lookup speed.
2016-02-12 18:24:08 -06:00
Jack Chung 8df395a006 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols 2016-02-02 16:27:42 +08:00
Ben Sander 304171c1a2 Initial commit for GPUOpen Launch 2016-01-26 20:14:33 -06:00