Commit Graph

11 Commits

Author SHA1 Message Date
Ben Sander 4ee2a5229b 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
Evgeny Mankov ea8f99702d 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.
2016-02-12 01:29:20 +03:00
Maneesh Gupta 7cc7f88717 which_hip -> hipconfig 2016-02-09 11:51:26 +05:30
Ben Sander 2a33197a06 Add hcc-config info to --full 2016-02-08 21:44:55 -06:00
Ben Sander 7cb5412ff4 iScript cleanup, add --full 2016-02-08 21:44:55 -06:00
Sam Kolton 0a27507208 Implementation of hipDeviceGetAttribute() 2016-02-04 17:39:27 +03:00
Ben Sander 1327d3e03d Merge branch 'master' into privatestaging 2016-02-03 09:39:19 -06:00
Ben Sander 3898f6af3c Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.
2016-02-02 10:02:48 -06:00
Jack Chung 1e7642c569 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols 2016-02-02 16:27:42 +08:00
Ben Sander 1e2fb8a1ab Fix typo in hipStreamWaitEvent. Fixes#9 2016-01-28 09:51:11 -06:00
Ben Sander f38e63ff18 Initial commit for GPUOpen Launch 2016-01-26 20:14:33 -06:00