Commit Graph

54851 Commits

Author SHA1 Message Date
Chris Kitching 02d3a34917 Use a cmake glob for collecting hipify sources
Should make breaking this monstrosity into multiple files a bit
easier...


[ROCm/clr commit: 9a4778f435]
2017-10-24 20:38:48 +01:00
Chris Kitching 9a4778f435 Use a cmake glob for collecting hipify sources
Should make breaking this monstrosity into multiple files a bit
easier...
2017-10-24 20:38:48 +01:00
Chris Kitching be34a017ef Use a cmake glob for collecting hipify sources
Should make breaking this monstrosity into multiple files a bit
easier...
2017-10-24 20:38:48 +01:00
Chris Kitching bbac7c8b82 Move giant lookup table into another translation unit
Also, rewrote it as a constant variable instead of a function
that imperatively fills a map. It's shorter, faster the compile,
and (depending on how badly the compiler screws it up) maybe
faster to run.

And, of course, it starts breaking up that giant .cpp file.


[ROCm/clr commit: 803d3ffd9c]
2017-10-24 20:38:25 +01:00
Chris Kitching 803d3ffd9c Move giant lookup table into another translation unit
Also, rewrote it as a constant variable instead of a function
that imperatively fills a map. It's shorter, faster the compile,
and (depending on how badly the compiler screws it up) maybe
faster to run.

And, of course, it starts breaking up that giant .cpp file.
2017-10-24 20:38:25 +01:00
Chris Kitching 4ab29113a1 Move giant lookup table into another translation unit
Also, rewrote it as a constant variable instead of a function
that imperatively fills a map. It's shorter, faster the compile,
and (depending on how badly the compiler screws it up) maybe
faster to run.

And, of course, it starts breaking up that giant .cpp file.
2017-10-24 20:38:25 +01:00
Evgeny Mankov b27aae3d77 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP
[ROCm/clr commit: ecbbb9f379]
2017-10-24 22:24:51 +03:00
Evgeny Mankov ecbbb9f379 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-10-24 22:24:51 +03:00
Evgeny Mankov 6f639b9ad4 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-10-24 22:24:51 +03:00
Evgeny Mankov 5a2bdb98f0 Merge pull request #230 from emankov/master
[HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM

[ROCm/clr commit: 4e78738267]
2017-10-24 20:44:56 +03:00
Evgeny Mankov 4e78738267 Merge pull request #230 from emankov/master
[HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM
2017-10-24 20:44:56 +03:00
Evgeny Mankov fea0b6ef2f Merge pull request #230 from emankov/master
[HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM
2017-10-24 20:44:56 +03:00
Evgeny Mankov c785f85389 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP
[ROCm/clr commit: 19bd0a2bbc]
2017-10-24 20:13:43 +03:00
Evgeny Mankov 19bd0a2bbc Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-10-24 20:13:43 +03:00
Evgeny Mankov dcb51e7d02 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-10-24 20:13:43 +03:00
Evgeny Mankov 748c8af044 Merge pull request #224 from ChrisKitching/tests
[HIPIFY] Make the automated tests more useful

[ROCm/clr commit: cbb772c3ab]
2017-10-24 20:12:36 +03:00
Evgeny Mankov cbb772c3ab Merge pull request #224 from ChrisKitching/tests
[HIPIFY] Make the automated tests more useful
2017-10-24 20:12:36 +03:00
Evgeny Mankov 15c3030d95 Merge pull request #224 from ChrisKitching/tests
[HIPIFY] Make the automated tests more useful
2017-10-24 20:12:36 +03:00
Evgeny Mankov a12402fc9a Merge branch 'master' into tests
[ROCm/clr commit: 712a1da073]
2017-10-24 20:03:51 +03:00
Evgeny Mankov 712a1da073 Merge branch 'master' into tests 2017-10-24 20:03:51 +03:00
Evgeny Mankov 3f4d435d31 Merge branch 'master' into tests 2017-10-24 20:03:51 +03:00
Evgeny Mankov a6f0e70cea Merge pull request #227 from ChrisKitching/clang-silly
Tweak some version numbers in clang version compatibility checks

[ROCm/clr commit: 7b307b21d1]
2017-10-24 17:16:07 +03:00
Evgeny Mankov 7b307b21d1 Merge pull request #227 from ChrisKitching/clang-silly
Tweak some version numbers in clang version compatibility checks
2017-10-24 17:16:07 +03:00
Evgeny Mankov 061fe7a192 Merge pull request #227 from ChrisKitching/clang-silly
Tweak some version numbers in clang version compatibility checks
2017-10-24 17:16:07 +03:00
Evgeny Mankov 59c0a69751 [HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM
Otherwise LLVM will be searched in system folders.


[ROCm/clr commit: 4a0228cedb]
2017-10-24 16:35:10 +03:00
Evgeny Mankov 4a0228cedb [HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM
Otherwise LLVM will be searched in system folders.
2017-10-24 16:35:10 +03:00
Evgeny Mankov 07a6d3ec06 [HIPIFY][fix] cmake: NO_DEFAULT_PATH is strongly needed in find_package for LLVM
Otherwise LLVM will be searched in system folders.
2017-10-24 16:35:10 +03:00
Rahul Garg 626521007d Example showing globals use with module APIs 2017-10-24 18:12:25 +05:30
Rahul Garg 28c72504b6 Example showing globals use with module APIs
[ROCm/clr commit: 10b1b58505]
2017-10-24 18:12:25 +05:30
Rahul Garg 10b1b58505 Example showing globals use with module APIs 2017-10-24 18:12:25 +05:30
Rahul Garg d638cd4fc1 Example showing globals use with module APIs 2017-10-24 18:12:25 +05:30
Maneesh Gupta fd9a0778ba Merge pull request #225 from emankov/master
[HIPIFY] cmake: fix standalone build

[ROCm/clr commit: e324e77184]
2017-10-24 17:06:51 +05:30
Maneesh Gupta e324e77184 Merge pull request #225 from emankov/master
[HIPIFY] cmake: fix standalone build
2017-10-24 17:06:51 +05:30
Maneesh Gupta 5b6c5ca55e Merge pull request #225 from emankov/master
[HIPIFY] cmake: fix standalone build
2017-10-24 17:06:51 +05:30
Evgeny Mankov 10cd9f9eb9 [HIPIFY][fix] cmake: do not build hipify-clang if not asked
+ warn "hipify-clang will not be built" if HIPIFY_CLANG_LLVM_DIR is not specified.
+ fix typo in previous commit .


[ROCm/clr commit: 7c51376bbf]
2017-10-24 14:16:05 +03:00
Evgeny Mankov 7c51376bbf [HIPIFY][fix] cmake: do not build hipify-clang if not asked
+ warn "hipify-clang will not be built" if HIPIFY_CLANG_LLVM_DIR is not specified.
+ fix typo in previous commit .
2017-10-24 14:16:05 +03:00
Evgeny Mankov 5a9d4e3435 [HIPIFY][fix] cmake: do not build hipify-clang if not asked
+ warn "hipify-clang will not be built" if HIPIFY_CLANG_LLVM_DIR is not specified.
+ fix typo in previous commit .
2017-10-24 14:16:05 +03:00
emankov d9a550d09c [HIPIFY] cmake: simplify build
[ROCm/clr commit: 559d9a68aa]
2017-10-24 10:51:11 +03:00
emankov 559d9a68aa [HIPIFY] cmake: simplify build 2017-10-24 10:51:11 +03:00
emankov 062127c5ea [HIPIFY] cmake: simplify build 2017-10-24 10:51:11 +03:00
foreman 93f751cc33 P4 to Git Change 1474014 by johtaylo@johtaylo-jtincrementor2-increment on 2017/10/24 03:00:05
SWDEV-2 - Change OpenCL version number from 2525 to 2526.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2273 edit


[ROCm/clr commit: 778197c431]
2017-10-24 03:08:30 -04:00
foreman 778197c431 P4 to Git Change 1474014 by johtaylo@johtaylo-jtincrementor2-increment on 2017/10/24 03:00:05
SWDEV-2 - Change OpenCL version number from 2525 to 2526.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2273 edit
2017-10-24 03:08:30 -04:00
Siu Chi Chan f3b4833413 printf support for module API
[ROCm/clr commit: 4ed3e9e15f]
2017-10-24 00:55:41 -04:00
Siu Chi Chan 4ed3e9e15f printf support for module API 2017-10-24 00:55:41 -04:00
Siu Chi Chan 1ddee10c2f printf support for module API 2017-10-24 00:55:41 -04:00
Chris Kitching 482541bb8c Tweak some version numbers in clang version compatibility checks
Apparently a couple of those APIs changed in clang 5, not 4.

Drat.


[ROCm/clr commit: aa288fcf1f]
2017-10-24 01:45:23 +01:00
Chris Kitching aa288fcf1f Tweak some version numbers in clang version compatibility checks
Apparently a couple of those APIs changed in clang 5, not 4.

Drat.
2017-10-24 01:45:23 +01:00
Chris Kitching 0207a29f78 Tweak some version numbers in clang version compatibility checks
Apparently a couple of those APIs changed in clang 5, not 4.

Drat.
2017-10-24 01:45:23 +01:00
Siu Chi Chan 9997997fe5 add an unit test for printf
[ROCm/clr commit: f1992c5b11]
2017-10-23 18:31:13 -04:00
Siu Chi Chan f1992c5b11 add an unit test for printf 2017-10-23 18:31:13 -04:00