Commit Graph

33 Commits

Author SHA1 Message Date
Aditya Atluri a232d65db1 Added feature for --default-streams not working tests and hipcc 2016-03-20 08:08:33 -05:00
Ben Sander dfca4faf27 disable mt streams tests (for now) 2016-03-19 03:10:31 -05:00
Ben Sander e7586adb33 Refactor to isolate staging buffer code. 2016-03-17 00:20:56 -05:00
Ben Sander 28ee7aff71 Start separaration of staging_buffer.cpp code.
Still #include staging_buffer.cpp into hip_hcc.cpp.
Directed tests compile hip_hcc to static library and use the library.
2016-03-16 22:26:49 -05:00
Ben Sander e1617b9604 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
Aditya Atluri cbb42c6b6a Added a random test for memcpyAsync 2016-03-08 03:40:56 -06:00
Ben Sander cc7517b57e Refactor memccpy tests.
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
  multi-thread.
2016-03-07 17:15:48 -06:00
Aditya Atluri 4ed0b1cb1a Added hipHostRegister feature for CUDA backend and its tests 2016-03-07 03:42:50 -06:00
Aditya Atluri 75952029d6 added feature for hipHostGetFlags for CUDA and HIP 2016-03-06 12:17:30 -06:00
Aditya Atluri f479531be5 Added hipHostAlloc feature for CUDA 2016-03-05 13:58:56 -06:00
Aditya Atluri fc49dc580a Added new multithreaded stream test 2016-03-01 19:33:47 -06:00
pensun 2d0394eaae Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 14:51:52 -06:00
pensun 39b44cb484 Test cases for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES.
hipEnvVar is the base test case, to be called by hipEnvVarDriver
at the run time.
Test case includes tests for normal use case of the environment
variable, invalid value/sequence and use CUDA_VISIBLE_DEVICES as a
alternative.
2016-02-27 14:48:00 -06:00
Aditya Atluri 14ec56acab [v2]: Added test to check single stream dispatches 2016-02-27 05:55:56 -06:00
Aditya Atluri 3733599cb4 Revert "Added test to check dispatches on single stream"
This reverts commit f134c6ccb6.
2016-02-27 05:48:41 -06:00
Aditya Atluri f134c6ccb6 Added test to check dispatches on single stream 2016-02-27 05:44:57 -06:00
Ben Sander 7e45addbee Add test for thread-safety on streams 2016-02-25 04:22:34 -06:00
Ben Sander c2d66a48a7 Fix memcpy for Titan. Add <threads> to common includes 2016-02-22 15:09:23 -06:00
Ben Sander f466b291d8 Support HSA_PATH env, async path tweak 2016-02-17 21:22:07 -06:00
Ben Sander 59379ffb44 more work on async copies 2016-02-17 00:59:12 -06:00
Ben Sander 57274850f9 Remove old include path. 2016-02-15 05:40:37 -06:00
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
streamhsa 4035b71df4 Resolved test issues 2016-02-10 20:01:16 +08:00
streamhsa 5aa254f32f Rename test hipInfo as hipGetDeviceAttribute 2016-02-09 13:19:32 +08:00
Ben Sander 0c74d3fc44 Test fixes:
- Remove reference to missing test.
- Add hipMemset back.
- Parse --gpu option to specify default starting GPU.
2016-02-08 22:55:23 -06:00
Ben Sander 272ae52506 Fix HIP_PLATFORM detection 2016-02-05 07:15:46 -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
streamhsa 2b02fe082f Added test for ballot and removing HIP_FUNCTION from hipSampleAtomicsTest.cpp -sandeep 2016-02-02 14:50:55 +05:30
Maneesh Gupta 861cba6f75 Add double and integer intrinsics to test 2016-02-01 16:00:45 +05:30
Maneesh Gupta 4d9e8b8673 Split math function tests into several smaller tests 2016-02-01 14:36:50 +05:30
Ben Sander f38e63ff18 Initial commit for GPUOpen Launch 2016-01-26 20:14:33 -06:00