Chris Kitching
26be50b082
Add concurentKernels.cu to the testsuite
...
[ROCm/clr commit: 2c65d0da37 ]
2017-10-23 13:39:37 +01:00
Chris Kitching
8fffd03350
Add the CUDA samples include dir to the path for tests
...
Means we get to easily steal CUDA examples for tests
[ROCm/clr commit: 64d5f07050 ]
2017-10-23 13:39:37 +01:00
Chris Kitching
7547f796d0
Add cudaRegister.cu lit test
...
[ROCm/clr commit: 2437b31939 ]
2017-10-23 13:39:37 +01:00
Chris Kitching
8fd3b3b1cd
Add square.cu to lit testsuite
...
[ROCm/clr commit: ead79e5bf4 ]
2017-10-23 13:39:37 +01:00
Chris Kitching
8b311424a6
Introduce a test runner script to simplify invocation
...
... And to use a standard, highly amusing trick for making
coloured output work.
[ROCm/clr commit: c99dcbba8d ]
2017-10-23 13:39:37 +01:00
Chris Kitching
4e80782cda
Adapt lit test for the hipLaunchKernelGGL changes from before...
...
[ROCm/clr commit: 5912f465bd ]
2017-10-23 13:39:37 +01:00
Chris Kitching
0f6c153774
Migrate lit test to using FileCheck, so failures are readable
...
It seems the test is already broken, but look how awesome the
error message is now:
/home/chris/HIP/tests/hipify-clang/axpy.cu:31:12: error: expected string not found in input
// CHECK: hipLaunchKernel(HIP_KERNEL_NAME(axpy), dim3(1), dim3(kDataLen), 0, 0, a, device_x, device_y);
^
<stdin>:31:2: note: scanning from here
//
^
<stdin>:33:2: note: possible intended match here
hipLaunchKernelGGL(axpy, dim3(1), dim3(kDataLen), 0, 0, a, device_x, device_y);
^
[ROCm/clr commit: 74fd64d5c1 ]
2017-10-23 13:39:37 +01:00
Chris Kitching
baabd2755e
Propagate the CUDA toolkit directory into the lit tests
...
Allows the tests to actually run... :D
[ROCm/clr commit: 9747578d09 ]
2017-10-23 13:39:36 +01:00
Rahul Garg
8f194d831a
Added HIT block
...
[ROCm/clr commit: 05070fe824 ]
2017-09-26 11:39:09 +05:30
Rahul Garg
aaa77132da
Added Texture 2D object and reference APIs tests
...
[ROCm/clr commit: 36db84a68f ]
2017-09-26 11:33:23 +05:30
Ben Sander
b45217fef0
Refactor hipStreamWaitEvent
...
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.
[ROCm/clr commit: ed8c3ba7e7 ]
2017-08-31 03:00:14 +00:00
Rahul Garg
b6e1129b22
Enable hipStreamSync2 and record_event dtests
...
[ROCm/clr commit: 3e4df05632 ]
2017-08-24 15:51:58 +05:30
Rahul Garg
a76d10b58e
PCI Bus ID related dtests
...
[ROCm/clr commit: 5a49396e3e ]
2017-08-22 15:41:16 +05:30
Maneesh Gupta
bf29705489
[dtests] Fix hip_threadfence_system test's BUILD command
...
Change-Id: I037c523369e4bddd7a386ffe117fe97a178900fd
[ROCm/clr commit: 88ff8d9da4 ]
2017-08-11 14:49:17 +05:30
Siu Chi Chan
a69503394d
add C++11 compilation flags and minor bug fixes
...
[ROCm/clr commit: 8c2cda8f9e ]
2017-08-10 17:58:36 +00:00
Maneesh Gupta
b37cc92f36
Merge pull request #138 from scchan/threadfence_system
...
implement __threadfence_system
[ROCm/clr commit: 2bd79ab9f5 ]
2017-08-10 12:51:05 +05:30
Maneesh Gupta
a8dc5dc11b
[dtests] Disable hip_threadfence_system.tst on nvcc
...
The test needs some more modifications before it is ready for building
on nvcc path. Disabling it for now so that the pull request can be
merged.
Change-Id: I19a894fcda7b2159f86a4e4e95a409c5655d3760
[ROCm/clr commit: 0d537f9966 ]
2017-08-10 12:05:58 +05:30
Rahul Garg
b32cf1b3e8
Disable failing test p2p_copy_coherency
...
[ROCm/clr commit: f916a7654e ]
2017-08-02 14:47:13 +05:30
Siu Chi Chan
6598eabd24
implement __threadfence_system
...
[ROCm/clr commit: b6e22b5c93 ]
2017-08-02 08:50:18 +00:00
Ben Sander
82a347659c
Merge pull request #110 from sunway513/fix_hipEnvVar_test
...
Fix hipEnvVar test
[ROCm/clr commit: bd563bf761 ]
2017-07-27 13:03:43 -05:00
sunway513
67afe0ec04
Change to use hipDeviceGetPCIBusId api for hipEnvVarDriver test
...
[ROCm/clr commit: b7c34fb80f ]
2017-07-27 17:41:49 +00:00
Ben Sander
a5b3f825c2
Merge pull request #100 from weixingzhang/texture
...
HIP Texture Support
[ROCm/clr commit: 702651fc85 ]
2017-07-26 19:28:15 -05:00
sunway513
237d1318b2
Fix indentation, binary path and add wait on popen calls to hipEnvVar test
...
[ROCm/clr commit: 046e9c570d ]
2017-07-24 17:16:13 +00:00
Maneesh Gupta
f29245a846
Renable frexp(f) device math function
...
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395
[ROCm/clr commit: 1bd1c6bea8 ]
2017-07-20 14:41:30 +05:30
Maneesh Gupta
ec7b63afcd
[dt] hip_texture.h -> hip_texture_types.h
...
Change-Id: If106efa0a2e52105d4025706fdbc291c27352a74
[ROCm/clr commit: 2448b6ee90 ]
2017-07-19 12:46:18 +05:30
Rahul Garg
f3b112716e
Enable memcpytosymbol family functions test
...
[ROCm/clr commit: f2d6da3e34 ]
2017-07-18 12:37:37 +05:30
Maneesh Gupta
1d986efecf
[dt] temporarily disable broken tests
...
Change-Id: I3ce23e410dc36e06d460263d768412f8368a6699
[ROCm/clr commit: 814eddcd96 ]
2017-07-18 11:17:02 +05:30
Wen-Heng (Jack) Chung
4ce97c30e9
Remove explicit address spaces declarations
...
[ROCm/clr commit: 0237aeab06 ]
2017-07-07 12:46:29 -05:00
Ben Sander
f1bed37a34
Clean up old USE_* and RELEASE.md notes.
...
[ROCm/clr commit: 42882ddf9c ]
2017-06-23 18:05:30 -05:00
Rahul Garg
942fc5de3f
Update P2P test for using memcpy and kernel tests
...
Change-Id: Ib0f8fc9425e6e85fd11d7d02395c52bc713dcb37
[ROCm/clr commit: ce6e455677 ]
2017-06-12 11:53:25 +05:30
Maneesh Gupta
4760a21b55
Update directed tests README.md
...
Change-Id: I395245454d376508f04e5a4a62c8933895cb3867
[ROCm/clr commit: 15a3464630 ]
2017-06-12 11:19:55 +05:30
Maneesh Gupta
57bfd56a0d
hipMemcpy-size test: reduce max size to make it work correctly on nvcc path
...
Change-Id: I9ce9f5a9e141ffd8ddf961269010b33358e02771
[ROCm/clr commit: ff8ade59aa ]
2017-06-07 15:25:54 +05:30
Maneesh Gupta
949fbad6e2
hipDeviceMemcpy test: make it functional on nvcc path
...
Change-Id: Id10c79b48747ed701adbd0a233c53cd60cfa743b
[ROCm/clr commit: a50f5ca0ac ]
2017-06-07 15:24:44 +05:30
Maneesh Gupta
e23be58d91
p2p_copy_coherency test: gracefully handle single gpu case
...
Change-Id: I216663f67ef58c673136332635dab8b57079b909
[ROCm/clr commit: a7dc938ec0 ]
2017-06-07 15:23:37 +05:30
Ben Sander
7237ed04f3
Fix HIP_SYNC_NULL_STREAM=0 mode.
...
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow
[ROCm/clr commit: 823281dcba ]
2017-06-05 08:50:22 -05:00
Ben Sander
be21cd1a91
Update tests.
...
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.
[ROCm/clr commit: 863b7c3f56 ]
2017-06-04 20:18:37 -05:00
Ben Sander
6aaeed821d
Update tests, add p2p coherency test.
...
[ROCm/clr commit: 15f54fb943 ]
2017-06-03 17:11:34 -05:00
Maneesh Gupta
0e4e17db27
Fix hipMemoryAllocate test for single GPU
...
Change-Id: If121c18ab490ba125dc689ffc08a8839fd280c38
[ROCm/clr commit: 06ee0d3704 ]
2017-05-31 10:16:57 +05:30
Maneesh Gupta
2985fa3814
Disable rcbrtf, scalblnf, scalbnf in single precision device test
...
Change-Id: I8a250a64a0cb05132d022a11d9766ced9cdf11a7
[ROCm/clr commit: 2145e94049 ]
2017-05-31 10:16:19 +05:30
Maneesh Gupta
13896d6fb9
Disable rcbrt, scalbln and scalbn double precision device test
...
Change-Id: I46bd895701c46d3592b553090cafba99e41a2e2d
[ROCm/clr commit: da19087ae2 ]
2017-05-31 10:15:41 +05:30
Sandeep Kumar
c3167f463d
Add inline asm hip directed tests for v_add and v_mac
...
Change-Id: Ie5ace2e42d5da89b16e040537df2bb13d3883c6d
[ROCm/clr commit: c964a5f208 ]
2017-05-31 09:25:40 +05:30
Ben Sander
0ca3262f0a
Add event controls for release fences.
...
Env var : HIP_EVENT_SYS_RELEASE
Event allocation flags : hipEventReleaseToDevice, hipEventReleaseToSystem
(remove hipEventDisableSystemRelease)
Update test for new functionality.
[ROCm/clr commit: 942ec0eff8 ]
2017-05-27 16:02:34 -05:00
Ben Sander
d6e8f5bbdc
Cleanup hipEvent. (Intermediate checkpoint)
...
Support hipEventDisableSystemRelease flag.
Update test.
Remove stray printf
[ROCm/clr commit: c8178c6838 ]
2017-05-27 16:02:34 -05:00
Ben Sander
9442c6dd2d
Updates so hip compiles on CUDA.
...
[ROCm/clr commit: 8dc968f036 ]
2017-05-27 15:55:07 -05:00
Ben Sander
d302498787
Add hipHostMallocCoherent, hipHostMallocNonCoherent
...
Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.
[ROCm/clr commit: dda70ae514 ]
2017-05-24 00:48:10 -05:00
Ben Sander
59e07db865
Expand test to cover copy followed by event sync
...
[ROCm/clr commit: 92bd54d7b3 ]
2017-05-23 23:15:45 -05:00
Ben Sander
33cfd1a35e
Make hipMultiThreadStreams1 test a little harsher.
...
Fail faster if synchronization rules are violated.
Run vectorAddRevers to read last elements of array first - if the
vector add kernel starts before preceding copy finishes we
will read stale data and flag the error.
Increase default array sizes, so synchronization errors more easily
exposed.
[ROCm/clr commit: 848d77ebb5 ]
2017-05-16 19:04:25 -05:00
Ben Sander
c098221a46
Fix HIP_TRACE_API so kernel launch only printed when requested.
...
[ROCm/clr commit: fad9104b5f ]
2017-05-16 19:04:25 -05:00
Ben Sander
4ac6ac9d1d
Add initial HIP_SYNC_NULL_STREAM=0 mode.
...
This eliminates host-synchronization for null stream. Instead, the
null-stream uses GPU-side events to wait for other streams.
Default is OFF pending additional testing.
Add enhanced null-stream test.
Also refine HIP_TRACE_API.
[ROCm/clr commit: 8bc6ee5932 ]
2017-05-16 19:04:25 -05:00
Ben Sander
db102ab82f
Update tests README
...
[ROCm/clr commit: 5d2072aba1 ]
2017-05-16 19:04:25 -05:00