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

49 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 03014e8a1d Merge branch 'release_0.84.00' into privatestaging
Conflicts:
	include/hcc_detail/hip_runtime.h
	src/hip_hcc.cpp


[ROCm/clr commit: 02e6fc27f4]
2016-04-22 10:55:58 +05:30
Aditya Atluri b857720440 added support for __ldg
[ROCm/clr commit: b493eac7e0]
2016-04-20 12:25:40 -05:00
Maneesh Gupta c99285c5fb Prefix HIP includes with hip/
[ROCm/clr commit: c4cc76398c]
2016-04-19 15:02:12 +05:30
Maneesh Gupta 165e7187c8 Handle non-versioned so files being present only in rocm/lib
[ROCm/clr commit: 69f50d0ced]
2016-04-15 16:20:35 +05:30
Maneesh Gupta 1293709fc0 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
[ROCm/clr commit: cf4c3b0913]
2016-04-15 12:56:31 +05:30
Maneesh Gupta e98b0db05c Change default HIP installation to /opt/rocm/hip
[ROCm/clr commit: efe468bbab]
2016-04-14 16:36:55 +05:30
Aditya Atluri 30e883a40d added back hc flag
[ROCm/clr commit: 5b38c9cffe]
2016-04-11 13:04:13 -05:00
Aditya Atluri f381fbb2be added C guard to hip_runtime.h
[ROCm/clr commit: 42df534354]
2016-04-11 13:01:02 -05:00
Maneesh Gupta 38815fc8e6 Fix broken CUDA path in hipcc
[ROCm/clr commit: 64ca5e466d]
2016-04-07 10:48:16 +05:30
Aditya Atluri 7f5a1e310f Corrected corner cases
[ROCm/clr commit: a7590e3537]
2016-04-06 14:50:27 -05:00
Aditya Atluri b98fcb7764 Added feature for cross-compilation and seperated hcc api from hip api
[ROCm/clr commit: 39f27984a8]
2016-04-06 14:18:51 -05:00
Maneesh Gupta b57a484d07 Add c++abi to linker options for HCC
[ROCm/clr commit: 7aad3bab84]
2016-04-02 22:32:05 +05:30
Maneesh Gupta a31f0e7c07 Initial (non-default) support for shared library HIP
[ROCm/clr commit: a8879638b6]
2016-04-01 16:08:49 +05:30
Aditya Atluri 19763f8f1e Revert to multiple output files than single .a lib
[ROCm/clr commit: b2b3eec95c]
2016-03-30 07:54:18 -05:00
Ben Sander 829fee518f include codexl marker path, if found
[ROCm/clr commit: 57783aad2d]
2016-03-29 17:26:44 -05:00
Ben Sander 8cf3f24d5c Improve automated platform detection.
If AMD GPU is installed and detected by driver, default
HIP_PLATFORM to hcc.


[ROCm/clr commit: 6d9eafa18a]
2016-03-25 17:08:34 -05:00
Ben Sander ecd13f750d report linux distro if possible
[ROCm/clr commit: 120d45b0dc]
2016-03-24 22:12:41 -05:00
Ben Sander 82dff2b93e Provcide more flexiblity in using HIP_PATH to control installation.
Also improve docs for developers / contributing.


[ROCm/clr commit: bcba591852]
2016-03-24 13:33:07 -05:00
Ben Sander ceecbad85b Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).


[ROCm/clr commit: 34976e357d]
2016-03-24 11:53:33 -05:00
Aditya Atluri 5f3d917b4c moved variables to headers
[ROCm/clr commit: c1ad70ad4b]
2016-03-23 12:59:52 -05:00
Aditya Atluri 85bcb2e3b8 WIP added modular feature for device apis
[ROCm/clr commit: 64c4c70e4f]
2016-03-23 07:54:01 -05:00
Ben Sander f70dc3c245 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.


[ROCm/clr commit: 004b4ada93]
2016-03-22 09:27:10 -05:00
Ben Sander 18a4fdb1b6 remove unneeded files
[ROCm/clr commit: 2a54c58cac]
2016-03-23 03:41:01 -05:00
Ben Sander f418fe4dae 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.


[ROCm/clr commit: 54704b59dd]
2016-03-23 01:17:53 -05:00
Ben Sander 37a02661a6 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.


[ROCm/clr commit: 2d0fade1f7]
2016-03-22 02:30:10 -05:00
Aditya Atluri e5657dec23 corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/clr commit: 8a21b42943]
2016-03-06 08:31:04 -06:00
Aditya Atluri 375d90a632 Added hipHostAlloc feature for CUDA
[ROCm/clr commit: 2212d35e2d]
2016-03-05 13:58:56 -06:00
Maneesh Gupta a5d80ddccc Fix hipcc from trying to compile object files
[ROCm/clr commit: dc1e863959]
2016-03-03 09:47:37 +05:30
Ben Sander 57cb962823 add check for hip platform configuration
[ROCm/clr commit: 73013ef358]
2016-02-28 21:08:53 -06:00
Ben Sander 62bae97cf7 touchup
[ROCm/clr commit: be0d3510f5]
2016-02-28 21:08:53 -06:00
Ben Sander 9edf27447e disable rocrv2, properly
[ROCm/clr commit: 3eb281aeff]
2016-02-27 03:31:30 -06:00
Aditya Avinash Atluri 1e9551ce7b Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1

[ROCm/clr commit: aeb86755c3]
2016-02-26 13:47:58 -06:00
Ben Sander 7d1955ed1d Add PATH and LD_LIBRARY_FLAGS
[ROCm/clr commit: 67e96e983f]
2016-02-25 23:07:18 -06:00
Ben Sander b8b7596d4d Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp


[ROCm/clr commit: af97f5e317]
2016-02-25 19:38:46 -06:00
Evgeny Mankov 9874e598f8 A support of the following device properties is added to legacy hipify.pl: hipDeviceAttributeConcurrentKernels, hipDeviceAttributeMemoryClockRate & hipDeviceAttributeMemoryBusWidth.
[ROCm/clr commit: 376fb0d8ad]
2016-02-19 13:36:37 +03:00
Ben Sander 86958d1d1f Search multiple dirs.
[ROCm/clr commit: ad20273a1d]
2016-02-18 21:07:14 -06:00
Ben Sander f8d9017103 Tweak full formatting
[ROCm/clr commit: d75279c8eb]
2016-02-17 21:22:31 -06:00
Ben Sander 6856d28ca3 more work on async copies
[ROCm/clr commit: 0cdbe1ff05]
2016-02-17 00:59:12 -06:00
Ben Sander fe67be1134 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.


[ROCm/clr commit: 721508cc2f]
2016-02-12 18:24:08 -06:00
Evgeny Mankov 6add51ef8c Fix typo: maxThreadsPerMultiProcessor -> MaxSharedMemoryPerMultiprocessor
Device property MaxSharedMemoryPerMultiprocessor set equal to totalGlobalMem (HIP path).
Reason: MaxSharedMemoryPerMultiprocessor should be as the same as group memory size. Group memory will not be paged out, so, the physical memory size = total shared memory size = group region size. NVCC path remains untouched: CUDA's device property MaxSharedMemoryPerMultiprocessor is reported.

hipify is updated as well.


[ROCm/clr commit: 460b501cbb]
2016-02-12 01:29:20 +03:00
Maneesh Gupta 4df8743f84 which_hip -> hipconfig
[ROCm/clr commit: f8bfc7f54c]
2016-02-09 11:51:26 +05:30
Ben Sander 3ce8ed9f4c Add hcc-config info to --full
[ROCm/clr commit: 39c5f0f610]
2016-02-08 21:44:55 -06:00
Ben Sander c94c562f26 iScript cleanup, add --full
[ROCm/clr commit: fdeb477822]
2016-02-08 21:44:55 -06:00
Sam Kolton 136baccbe5 Implementation of hipDeviceGetAttribute()
[ROCm/clr commit: afe45964ae]
2016-02-04 17:39:27 +03:00
Ben Sander 054598a1b3 Merge branch 'master' into privatestaging
[ROCm/clr commit: 2faf1dfe6e]
2016-02-03 09:39:19 -06:00
Ben Sander 71bfa20508 Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.


[ROCm/clr commit: 182296ce59]
2016-02-02 10:02:48 -06:00
Jack Chung 58e2e13f04 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols
[ROCm/clr commit: 8df395a006]
2016-02-02 16:27:42 +08:00
Ben Sander 94863d2bee Fix typo in hipStreamWaitEvent. Fixes#9
[ROCm/clr commit: fd1a2721c2]
2016-01-28 09:51:11 -06:00
Ben Sander 28f87a0428 Initial commit for GPUOpen Launch
[ROCm/clr commit: 304171c1a2]
2016-01-26 20:14:33 -06:00