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

12 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta b29742d6f8 Prefix HIP includes with hip/
[ROCm/hip commit: bc4f388b69]
2016-04-19 15:02:12 +05:30
Ben Sander b319209299 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/hip commit: ab910efb96]
2016-03-22 02:30:10 -05:00
Aditya Atluri f1b8758919 corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/hip commit: d3ba2b9782]
2016-03-06 08:31:04 -06:00
Aditya Atluri 8e0fc269d7 Added hipHostAlloc feature for CUDA
[ROCm/hip commit: f479531be5]
2016-03-05 13:58:56 -06:00
Ben Sander 5ca4914e0e Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp


[ROCm/hip commit: 4adab7b7ef]
2016-02-25 19:38:46 -06:00
Evgeny Mankov d8df47383d A support of the following device properties is added to legacy hipify.pl: hipDeviceAttributeConcurrentKernels, hipDeviceAttributeMemoryClockRate & hipDeviceAttributeMemoryBusWidth.
[ROCm/hip commit: b23f9776ca]
2016-02-19 13:36:37 +03:00
Ben Sander d4a90f8afd 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/hip commit: 4ee2a5229b]
2016-02-12 18:24:08 -06:00
Evgeny Mankov fcd154097f 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/hip commit: ea8f99702d]
2016-02-12 01:29:20 +03:00
Sam Kolton 2306293526 Implementation of hipDeviceGetAttribute()
[ROCm/hip commit: 0a27507208]
2016-02-04 17:39:27 +03:00
Ben Sander 57d88913f8 Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.


[ROCm/hip commit: 3898f6af3c]
2016-02-02 10:02:48 -06:00
Ben Sander 34ee235d06 Fix typo in hipStreamWaitEvent. Fixes#9
[ROCm/hip commit: 1e2fb8a1ab]
2016-01-28 09:51:11 -06:00
Ben Sander 97cf8b8ac9 Initial commit for GPUOpen Launch
[ROCm/hip commit: f38e63ff18]
2016-01-26 20:14:33 -06:00