Commit Graph

57 Commits

Author SHA1 Message Date
Maneesh Gupta 07026bfdea hcc_dialects report PASSED when passed 2016-05-03 14:32:59 +05:30
Maneesh Gupta fb88bb1c17 bit_extract reports PASSED when passed 2016-05-03 14:19:25 +05:30
bwicakso 0b44286cc7 Merge pull request #24 from bwicakso/kernel_synchronization
Fix for kernel synchronization
2016-04-28 11:59:11 -05:00
bwicakso aa31c45e47 Merge from original 2016-04-25 13:55:44 -05:00
Maneesh Gupta 307b24b9d5 Fix makefiles in samples 2016-04-18 10:15:35 +05:30
Maneesh Gupta 4092a1efe8 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa 2016-04-15 12:56:31 +05:30
Ben Sander 40e3772d40 Fix HIP_PATH, CHECK macro in samples. 2016-04-13 17:37:39 -05:00
Ben Sander a296b93281 add hcc dialects sample 2016-04-13 17:32:38 -05:00
Ben Sander 9a62578143 Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
Conflicts:
	RELEASE.md
	include/hcc_detail/hip_hcc.h
	samples/1_Utils/hipInfo/hipInfo.cpp
	src/hip_hcc.cpp
	src/hip_peer.cpp
2016-04-11 09:17:27 -05:00
Ben Sander b42167f80c P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.
2016-04-11 12:52:18 -05:00
Ben Sander 7eba742c66 fix peer query order 2016-04-11 07:58:59 -05:00
Ben Sander c161c1ba9b P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.
2016-04-11 07:58:59 -05:00
Ben Sander 565300acb0 Remove stray debug msgs, hipInfo don't print self as peer. 2016-04-11 07:58:58 -05:00
Ben Sander 2fd45f0a6d Use HIP_PATH if set else use relative ../... 2016-04-11 07:58:58 -05:00
Ben Sander 4fca0a1bdf Print peers in hipConfig.
Also include peer APIs in vim hilighting.
2016-04-11 07:58:58 -05:00
Ben Sander c37a4c3d04 Remove stray debug msgs, hipInfo don't print self as peer. 2016-04-09 04:35:06 -05:00
Ben Sander ac798c2997 Use HIP_PATH if set else use relative ../... 2016-04-08 02:17:29 -05:00
Ben Sander 3fbad4bca5 Print peers in hipConfig.
Also include peer APIs in vim hilighting.
2016-04-08 02:15:46 -05:00
Maneesh Gupta 2433bca2b1 Remove deprecated KERNELBEGIN and KERNELEND from bit_extract sample 2016-04-04 14:47:02 +05:30
streamhsa 155c366e79 change makefile for samples 2016-03-29 16:02:09 +08:00
Aditya Atluri 4992ccfea6 Logging dispatch latency through database util 2016-03-23 11:39:57 -05:00
Ben Sander c1dd930c92 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 3b3bae3772 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.
2016-03-22 02:30:10 -05:00
Ben Sander 221973404f Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-03-19 03:22:09 -05:00
Ben Sander d011d7cf6e Add beastperiteration and onesize for testing.
onesize allows running tests at one specific size.
2016-03-19 02:43:04 -05:00
Ben Sander f7e2c254df Improve formatting - line up cols 2016-03-18 23:43:04 -05:00
Ben Sander 62fb06f54e Print Pinned or Unpinned in result summary 2016-03-18 21:28:29 -05:00
Ben Sander 97493d2098 Supported --aliged mode. Add results check for H2D and D2H. 2016-03-18 03:09:52 -05:00
Aditya Atluri 9800567a53 corrected first and second kernel dispatch 2016-03-15 14:22:00 -05:00
Aditya Atluri f10d879285 Added single kernel launch to sample 2016-03-15 21:05:15 -05:00
Aditya Atluri 93c30afe2f added performance metrics for kernel dispatch 2016-03-15 12:37:24 -05:00
Aditya Atluri e376b1baec v2 deprecating hipMallocHost with hipHostAlloc 2016-03-15 13:39:15 -05:00
Ben Sander 6b34ae4797 print device config info 2016-03-14 23:02:49 -05:00
Ben Sander 3c2c2e02eb Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	src/hip_hcc.cpp
	tests/src/CMakeLists.txt
2016-03-14 15:01:26 -05:00
Ben Sander 65f40e68c8 Add Bidir copy test and help. 2016-03-14 14:39:23 -05:00
Ben Sander f5849f462e refactor, add support for speccing xfers in bytes 2016-03-13 09:41:06 -05:00
Aditya Atluri 0155e5b879 corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs 2016-03-06 08:31:04 -06:00
Ben Sander 2fb97ae4d8 fixes for titan platform 2016-02-26 05:25:30 -06:00
Ben Sander adbd7bdab5 Merge branch 'memtracker' into privatestaging
Conflicts:
	include/nvcc_detail/hip_runtime_api.h
2016-02-26 06:17:05 -06:00
Ben Sander 2a15579db0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-26 06:15:09 -06:00
Ben Sander 7e25c52055 Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Evgeny Mankov 11b75c38de Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).
2016-02-25 23:44:39 +03:00
Ben Sander 5ad94a17ce Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-22 08:33:47 -06:00
Evgeny Mankov bdb6c4f423 Guard #ifdef USE_ROCR_20 is added for ROCR_20 device properties (memoryClockRate, memoryBusWidth)
By default isn't defined.
To add ROCR_20 support HIP have to be compiled as follows: make CXX_DEFINES+=-DUSE_ROCR_20
2016-02-19 13:27:03 +03:00
Evgeny Mankov 83612db41b Device property memoryBusWidth implementation.
+ Device property memoryBusWidth is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryBusWidth is added to hipDeviceAttribute_t struct.
+ Tests update.
2016-02-18 18:15:01 +03:00
Evgeny Mankov 383310d9d0 Device property memoryClockRate implementation.
+ Device property memoryClockRate is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryClockRate is added to hipDeviceAttribute_t struct.
+ Tests update.
+ Rename hipDevAttrConcurrentKernels to hipDeviceAttributeConcurrentKernels.
2016-02-18 17:25:28 +03:00
Evgeny Mankov ff22a6eb28 hipInfo sample update with new Device Properties. 2016-02-18 15:08:55 +03:00
Evgeny Mankov 12fcf1d0ff Formatting, no functional changes. 2016-02-15 13:16:05 +03:00
Ben Sander f12a1e9581 Enable -O3, style points on array size 2016-02-13 03:17:42 -06:00
Ben Sander b5743abae2 Result formatting 2016-02-13 01:14:01 -06:00