Commit grafiek

11 Commits

Auteur SHA1 Bericht Datum
Alex Voicu ccfb764a59 Add HIPRTC, glorious ersatz for NVRTC (#1097)
* Add ersatz for NVRTC.

* Fix extraneous paren and use correct namespace.

* Use lowerCamelCase (yuck, yuck) consistently.

* Link against FS when building hiprtc lib.

* Correctly mark Manipulators. Fix dual compile.

* Add unit tests. Extend HIT to accept linker options.

* Make sure the HIPRTC library is installed.

* Better logging. Try to auto-detect the target.

* Stop specifying the target explicitly.

* Add missing flavour of `hipModuleLaunchKernel`.

* Program was already destroyed.

* Don't use `--genco`. Fix mangled name trimming.

* Fix HIPRTC breakage due to upstream noise.

* [dtests] Replace RUN -> TEST in hiprtc tests

Change-Id: Ie499e92dfe4e5c94634b1c2b76cf52d241bcfea3

* [hit] Set HIP_PATH to HIP_ROOT_DIR for all tests

Change-Id: Ib0ad1f99bc71c03e363e055dd508a7a4a210680a
2019-05-16 18:28:54 +05:30
Maneesh Gupta 49a2d785d0 [hit] Add support for BUILD_CMD 2019-05-09 11:36:26 +05:30
Maneesh Gupta 622ea32964 [hit] Remove CUSTOM_CMD
Change-Id: Ia156fe6aab9cfcc11284823ea5131e33eaf962bc
2019-05-09 09:59:18 +05:30
Maneesh Gupta 9f2d1453fb [hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Maneesh Gupta 197a7e2600 [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
2017-11-06 16:53:57 +05:30
Maneesh Gupta 5f689cb986 directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17
2017-02-27 13:14:08 +05:30
Maneesh Gupta 57b97a1e99 Make directed tests linking depend upon HIP_PATH/lib/*
Change-Id: I35203fc655325428e241a541f64c103fb2004b6e
2016-10-19 12:41:11 +05:30
Maneesh Gupta dcfe5ce2ea HIT: maintain source hierarchy for generated test executables
Change-Id: I997650d10cf38f35edb6b88b130a62c3541a850c
2016-09-30 12:49:11 +05:30
Maneesh Gupta b4426e4c26 HIT: Support make_named_test
Change-Id: I7472c14595f10c4f2e2cf8d0228cc0373458a0b7
2016-09-27 17:22:23 +05:30
Maneesh Gupta 40694485ca HIT: Fix logic in HIT_ADD_DIRECTORY_RECURSIVE
Change-Id: I066787aaeec2a1562aa36527e60291594da31f83
2016-09-23 15:13:12 +05:30
Maneesh Gupta f97c91d74a Initial implementation of HIT infrastructure
Change-Id: Icaef40cca67715fe3ec4ce3479d0f80f391f3917
2016-09-23 14:44:51 +05:30