Rahul Garg
896c146fef
Porting guides update for texture APIs usage
...
[ROCm/clr commit: 3e9a4cfdd1 ]
2017-11-24 12:00:55 +05:30
Maneesh Gupta
907a265bc1
Merge pull request #255 from AlexVlx/remove_some_trailing_whitespace
...
Clean up trailing whitespace so as to reduce noise in #246 .
[ROCm/clr commit: 6f1298d9f6 ]
2017-11-08 10:29:19 +05:30
Maneesh Gupta
9fe4f363ef
Merge pull request #253 from mangupta/hit_add_cmakecmd
...
[hit] Add support for cmake commands as part of test infra
[ROCm/clr commit: 86f5934beb ]
2017-11-08 09:50:29 +05:30
Alex Voicu
142213a52b
Clean up trailing whitespace so as to reduce noise in #246 .
...
[ROCm/clr commit: 0ad1308efd ]
2017-11-08 00:08:55 +00:00
Phaneendr-kumar Lanka
fc1af184a4
identation change in hipPeekAtLastError
...
[ROCm/clr commit: 2a1d7db371 ]
2017-11-07 09:51:32 +05:30
Maneesh Gupta
f00dd1ad73
[hit] Add support for cmake commands as part of test infra
...
Cmake supports several builtin command-line tools. These tools can
now be specified as part of the HIT block. These commands will be
run during cmake configure step.
Change-Id: I32466c94b2fe1ecdc30249755fc027102295617d
[ROCm/clr commit: f92648e447 ]
2017-11-06 16:53:57 +05:30
Phaneendr-kumar Lanka
b36eb26ef0
Modified tests as per review
...
[ROCm/clr commit: e18f4239b6 ]
2017-11-06 15:13:36 +05:30
Phaneendr-kumar Lanka
700890e19a
More tests for memory,stream & error APIs
...
[ROCm/clr commit: 7427abba04 ]
2017-11-06 11:31:52 +05:30
Maneesh Gupta
5b217496ec
Merge pull request #239 from phani544/newTests
...
[newTests]Adding tests for device APIs
[ROCm/clr commit: 544538fd88 ]
2017-11-06 07:22:13 +05:30
Phaneendr-kumar Lanka
6034d9fcc1
[newTests]modified the test
...
[ROCm/clr commit: fa32a1924a ]
2017-11-03 14:52:19 +05:30
Phaneendr-kumar Lanka
35b9e10294
[newTests]Modified the test as per review comments
...
[ROCm/clr commit: 19946ca43d ]
2017-11-03 10:39:47 +05:30
Alex Voicu
41045dd24d
This corrects some interesting choices that were present in the HIP
...
unit tests such as e.g. de-allocating memory allocated with new[] using
free. All of these were identified via cppcheck.
[ROCm/clr commit: 58a18eaf0c ]
2017-11-01 22:51:22 +00:00
Maneesh Gupta
c1639486c6
Merge pull request #197 from bensander/update_coherency_tests
...
Update coherency tests
[ROCm/clr commit: a6458616f5 ]
2017-10-31 17:26:50 +05:30
Ben Sander
a6d17854f8
Merge pull request #226 from scchan/add_printf3
...
add printf to HIP device functions
[ROCm/clr commit: 4debd30c3d ]
2017-10-30 17:08:18 +01:00
Phaneendr-kumar Lanka
9486eadfbe
[newTests]Adding tests for device APIs
...
[ROCm/clr commit: 71434383a3 ]
2017-10-30 14:34:24 +05:30
Siu Chi Chan
bec0ff43e0
Merge remote-tracking branch 'origin/master' into HEAD
...
[ROCm/clr commit: cf98d0e37d ]
2017-10-27 01:18:28 -04:00
Chris Kitching
7360326705
Greatly enhance handling of macros in kernel launches
...
All but the most contrived use of macros is now properly handled -
have a look at the new testcases this commit adds. You can have
macros in kernel calls, macros spanning chunks of your arguments,
the call, call parameters, or callee can all be macros or
partially macros.
[ROCm/clr commit: 6491c2c3eb ]
2017-10-26 17:28:46 +01:00
Ben Sander
4593effbe8
Clean up test to address review feedback.
...
[ROCm/clr commit: cc2bcbcbcf ]
2017-10-25 16:08:16 -05:00
Chris Kitching
31920efae1
Don't use now-defunct cmake variable in lit test config
...
[ROCm/clr commit: 8d91579dcf ]
2017-10-24 20:52:51 +01:00
Siu Chi Chan
9997997fe5
add an unit test for printf
...
[ROCm/clr commit: f1992c5b11 ]
2017-10-23 18:31:13 -04:00
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
Ben Sander
6dde6de34c
Test cleanup.
...
[ROCm/clr commit: c4612f3dc9 ]
2017-10-07 07:54:10 -07:00
Ben Sander
c6b96822dc
Add copy_coherency test
...
Test cache managemenent and synchronization between kernel and copy commands
in separate queues.
[ROCm/clr commit: cb613bb6a8 ]
2017-10-07 07:54:10 -07: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