Commit Graph

11 Commits

Author SHA1 Message Date
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
Maneesh Gupta 1803451df7 which_hip -> hipconfig
[ROCm/hip commit: 7cc7f88717]
2016-02-09 11:51:26 +05:30
Ben Sander ebf94bcf3a Add hcc-config info to --full
[ROCm/hip commit: 2a33197a06]
2016-02-08 21:44:55 -06:00
Ben Sander ff36d32095 iScript cleanup, add --full
[ROCm/hip commit: 7cb5412ff4]
2016-02-08 21:44:55 -06:00
Sam Kolton 2306293526 Implementation of hipDeviceGetAttribute()
[ROCm/hip commit: 0a27507208]
2016-02-04 17:39:27 +03:00
Ben Sander 2bf594e928 Merge branch 'master' into privatestaging
[ROCm/hip commit: 1327d3e03d]
2016-02-03 09:39:19 -06: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
Jack Chung c94a8de983 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols
[ROCm/hip commit: 1e7642c569]
2016-02-02 16:27:42 +08: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