Paul Fultz II
b42e1216d9
cherrypick from master branch
...
75a5088446
727c9f77d8
These are needed by MIOpen and rocBLAS.
Add __HIP_PLATFORM_HCC__ to hip::host target (#2029 )
Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++ (#2035 )
* Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++
* Add inlineall option to hip::device in hip-config.cmake
Change-Id: Ib51f82d0b9e38d2137df65c940592413e22ba07a
[ROCm/clr commit: 9227b08458 ]
2020-04-24 09:32:02 -04:00
Paul Fultz II
9227b08458
cherrypick from master branch
...
75a5088446
727c9f77d8
These are needed by MIOpen and rocBLAS.
Add __HIP_PLATFORM_HCC__ to hip::host target (#2029 )
Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++ (#2035 )
* Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++
* Add inlineall option to hip::device in hip-config.cmake
Change-Id: Ib51f82d0b9e38d2137df65c940592413e22ba07a
2020-04-24 09:32:02 -04:00
Paul Fultz II
4da30ef9ae
cherrypick from master branch
...
34d5719edc
4488c9a016
These are needed by MIOpen and rocBLAS.
Add __HIP_PLATFORM_HCC__ to hip::host target (#2029 )
Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++ (#2035 )
* Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++
* Add inlineall option to hip::device in hip-config.cmake
Change-Id: Ib51f82d0b9e38d2137df65c940592413e22ba07a
[ROCm/hip commit: d568f78bdd ]
2020-04-24 09:32:02 -04:00
Paul Fultz II
d568f78bdd
cherrypick from master branch
...
75a5088446
727c9f77d8
These are needed by MIOpen and rocBLAS.
Add __HIP_PLATFORM_HCC__ to hip::host target (#2029 )
Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++ (#2035 )
* Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++
* Add inlineall option to hip::device in hip-config.cmake
Change-Id: Ib51f82d0b9e38d2137df65c940592413e22ba07a
2020-04-24 09:32:02 -04:00
Paul Fultz II
a7d56e7159
Add __HIP_PLATFORM_HCC__ to hip::host target ( #2029 )
...
[ROCm/clr commit: 445953aa94 ]
2020-04-23 21:51:02 +05:30
Paul Fultz II
445953aa94
Add __HIP_PLATFORM_HCC__ to hip::host target ( #2029 )
2020-04-23 21:51:02 +05:30
Paul Fultz II
4488c9a016
Add __HIP_PLATFORM_HCC__ to hip::host target ( #2029 )
...
[ROCm/hip commit: 727c9f77d8 ]
2020-04-23 21:51:02 +05:30
Paul Fultz II
727c9f77d8
Add __HIP_PLATFORM_HCC__ to hip::host target ( #2029 )
2020-04-23 21:51:02 +05:30
Paul Fultz II
c196ac897b
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
Change-Id: I31bbee2e70d58b89191f970f5c6ae7e1c8b40900
[ROCm/clr commit: 58f04fb774 ]
2020-04-02 12:09:31 -04:00
Paul Fultz II
58f04fb774
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
Change-Id: I31bbee2e70d58b89191f970f5c6ae7e1c8b40900
2020-04-02 12:09:31 -04:00
Paul Fultz II
17f9e2358b
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
Change-Id: I31bbee2e70d58b89191f970f5c6ae7e1c8b40900
[ROCm/hip commit: c8bcf28320 ]
2020-04-02 12:09:31 -04:00
Paul Fultz II
c8bcf28320
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
Change-Id: I31bbee2e70d58b89191f970f5c6ae7e1c8b40900
2020-04-02 12:09:31 -04:00
Paul Fultz II
eb2336fd32
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
Change-Id: Ie2b30ea606bfca385a0e84ae03ee0a8d828ad16a
[ROCm/clr commit: 631f82ab82 ]
2020-04-02 12:09:03 -04:00
Paul Fultz II
631f82ab82
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
Change-Id: Ie2b30ea606bfca385a0e84ae03ee0a8d828ad16a
2020-04-02 12:09:03 -04:00
Paul Fultz II
8aff07fe80
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
Change-Id: Ie2b30ea606bfca385a0e84ae03ee0a8d828ad16a
[ROCm/hip commit: 2c246dabfe ]
2020-04-02 12:09:03 -04:00
Paul Fultz II
2c246dabfe
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
Change-Id: Ie2b30ea606bfca385a0e84ae03ee0a8d828ad16a
2020-04-02 12:09:03 -04:00
Paul Fultz II
f25787c4b7
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
[ROCm/clr commit: 05415b0dbf ]
2020-03-25 14:42:48 -07:00
Paul Fultz II
05415b0dbf
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
2020-03-25 14:42:48 -07:00
Paul Fultz II
bbc1550bbb
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
[ROCm/hip commit: 855209abed ]
2020-03-25 14:42:48 -07:00
Paul Fultz II
855209abed
Fix path for hip-clang when using hipcc ( #1961 )
...
* Fix path for hip-clang when using hipcc
* Fix typo
* Update regex
2020-03-25 14:42:48 -07:00
Paul Fultz II
85fdd5afc9
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
[ROCm/clr commit: 9a47358324 ]
2020-03-18 11:18:58 +05:30
Paul Fultz II
9a47358324
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
2020-03-18 11:18:58 +05:30
Paul Fultz II
8c59975bf5
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
[ROCm/hip commit: 58058091ad ]
2020-03-18 11:18:58 +05:30
Paul Fultz II
58058091ad
Add missing flags for hip::device target on hip-clang ( #1230 )
...
This adds the missing compilation flags to hip::device so it can compile with hip-clang compiler.
2020-03-18 11:18:58 +05:30
Paul
069f2672b9
Revert "Try to initialize the primary context on cuda"
...
This reverts commit d9cbd5a143 .
[ROCm/clr commit: dd6676dadf ]
2020-02-11 12:34:11 -06:00
Paul
dd6676dadf
Revert "Try to initialize the primary context on cuda"
...
This reverts commit 86cdb30195 .
2020-02-11 12:34:11 -06:00
Paul
ca0eb390a9
Revert "Try to initialize the primary context on cuda"
...
This reverts commit 44e3908680 .
[ROCm/hip commit: 26bb6a97a7 ]
2020-02-11 12:34:11 -06:00
Paul
26bb6a97a7
Revert "Try to initialize the primary context on cuda"
...
This reverts commit fd98514113 .
2020-02-11 12:34:11 -06:00
Paul
509d8096a5
Revert "Push ctx to the stack as current"
...
This reverts commit c1b707ff63 .
[ROCm/clr commit: cd279cd574 ]
2020-02-11 12:34:10 -06:00
Paul
cd279cd574
Revert "Push ctx to the stack as current"
...
This reverts commit e8a7cc6957 .
2020-02-11 12:34:10 -06:00
Paul
f86740ff94
Revert "Push ctx to the stack as current"
...
This reverts commit 0fb72d9e7f .
[ROCm/hip commit: e82e3c2339 ]
2020-02-11 12:34:10 -06:00
Paul
e82e3c2339
Revert "Push ctx to the stack as current"
...
This reverts commit bff8cbe950 .
2020-02-11 12:34:10 -06:00
Paul
c1b707ff63
Push ctx to the stack as current
...
[ROCm/clr commit: e8a7cc6957 ]
2020-02-11 11:46:29 -06:00
Paul
e8a7cc6957
Push ctx to the stack as current
2020-02-11 11:46:29 -06:00
Paul
0fb72d9e7f
Push ctx to the stack as current
...
[ROCm/hip commit: bff8cbe950 ]
2020-02-11 11:46:29 -06:00
Paul
bff8cbe950
Push ctx to the stack as current
2020-02-11 11:46:29 -06:00
Paul
d9cbd5a143
Try to initialize the primary context on cuda
...
[ROCm/clr commit: 86cdb30195 ]
2020-02-11 11:26:24 -06:00
Paul
86cdb30195
Try to initialize the primary context on cuda
2020-02-11 11:26:24 -06:00
Paul
44e3908680
Try to initialize the primary context on cuda
...
[ROCm/hip commit: fd98514113 ]
2020-02-11 11:26:24 -06:00
Paul
fd98514113
Try to initialize the primary context on cuda
2020-02-11 11:26:24 -06:00
Paul
5e16db1f16
Skip test on cuda
...
[ROCm/clr commit: accdd882dc ]
2020-02-10 17:23:58 -06:00
Paul
accdd882dc
Skip test on cuda
2020-02-10 17:23:58 -06:00
Paul
746c36ed8e
Skip test on cuda
...
[ROCm/hip commit: b9f97ec3fe ]
2020-02-10 17:23:58 -06:00
Paul
b9f97ec3fe
Skip test on cuda
2020-02-10 17:23:58 -06:00
Paul
e6663a7c23
Reduce threads on cuda
...
[ROCm/clr commit: 5d24a2beef ]
2020-02-10 16:37:34 -06:00
Paul
5d24a2beef
Reduce threads on cuda
2020-02-10 16:37:34 -06:00
Paul
92ff502b92
Reduce threads on cuda
...
[ROCm/hip commit: 30e8dfdd86 ]
2020-02-10 16:37:34 -06:00
Paul
30e8dfdd86
Reduce threads on cuda
2020-02-10 16:37:34 -06:00
Paul
44c4b72f83
Set context on each thread
...
[ROCm/clr commit: 7a6e88480b ]
2020-02-10 16:01:53 -06:00
Paul
7a6e88480b
Set context on each thread
2020-02-10 16:01:53 -06:00
Paul
039171f6fd
Set context on each thread
...
[ROCm/hip commit: 2d9a2d866c ]
2020-02-10 16:01:53 -06:00
Paul
2d9a2d866c
Set context on each thread
2020-02-10 16:01:53 -06:00
Paul
8fb4e25cf1
Create context for cuda
...
[ROCm/clr commit: bb145e77ae ]
2020-02-10 15:52:34 -06:00
Paul
bb145e77ae
Create context for cuda
2020-02-10 15:52:34 -06:00
Paul
a3e2660669
Create context for cuda
...
[ROCm/hip commit: e5d077f70e ]
2020-02-10 15:52:34 -06:00
Paul
e5d077f70e
Create context for cuda
2020-02-10 15:52:34 -06:00
Paul
218994969f
Add setDevice to try and initialize the context on cuda
...
[ROCm/clr commit: 9494d0e3c9 ]
2020-02-10 13:37:45 -06:00
Paul
9494d0e3c9
Add setDevice to try and initialize the context on cuda
2020-02-10 13:37:45 -06:00
Paul
b6e01adc72
Add setDevice to try and initialize the context on cuda
...
[ROCm/hip commit: 29a257d79b ]
2020-02-10 13:37:45 -06:00
Paul
29a257d79b
Add setDevice to try and initialize the context on cuda
2020-02-10 13:37:45 -06:00
Paul
0b46506fcf
Output on failure
...
[ROCm/clr commit: 2405ab236f ]
2020-02-07 10:13:28 -06:00
Paul
2405ab236f
Output on failure
2020-02-07 10:13:28 -06:00
Paul
fcadd1107d
Output on failure
...
[ROCm/hip commit: d77ede7015 ]
2020-02-07 10:13:28 -06:00
Paul
d77ede7015
Output on failure
2020-02-07 10:13:28 -06:00
Paul
daaa1ebb80
Make threads a multiple of hardware concurrency
...
[ROCm/clr commit: fb8c7cb3ec ]
2020-02-06 16:23:29 -06:00
Paul
fb8c7cb3ec
Make threads a multiple of hardware concurrency
2020-02-06 16:23:29 -06:00
Paul
3fa3e99a9a
Make threads a multiple of hardware concurrency
...
[ROCm/hip commit: 8e494cfce8 ]
2020-02-06 16:23:29 -06:00
Paul
8e494cfce8
Make threads a multiple of hardware concurrency
2020-02-06 16:23:29 -06:00
Paul
b29fe7e893
Add multithreaded test
...
[ROCm/clr commit: bf69c7ae32 ]
2020-02-06 16:21:40 -06:00
Paul
bf69c7ae32
Add multithreaded test
2020-02-06 16:21:40 -06:00
Paul
5cfa3c626a
Add multithreaded test
...
[ROCm/hip commit: 5361424702 ]
2020-02-06 16:21:40 -06:00
Paul
5361424702
Add multithreaded test
2020-02-06 16:21:40 -06:00
Paul
1ee03c9db9
Assign the iterator
...
[ROCm/clr commit: 84d6eb985d ]
2020-02-06 12:15:29 -06:00
Paul
84d6eb985d
Assign the iterator
2020-02-06 12:15:29 -06:00
Paul
70fa1572a2
Assign the iterator
...
[ROCm/hip commit: 85560d38b1 ]
2020-02-06 12:15:29 -06:00
Paul
85560d38b1
Assign the iterator
2020-02-06 12:15:29 -06:00
Paul
c9f66e4ae5
Fix compile error
...
[ROCm/clr commit: bb26e99c73 ]
2020-02-06 12:04:50 -06:00
Paul
bb26e99c73
Fix compile error
2020-02-06 12:04:50 -06:00
Paul
7ee1ccfe24
Fix compile error
...
[ROCm/hip commit: f34f96350c ]
2020-02-06 12:04:50 -06:00
Paul
f34f96350c
Fix compile error
2020-02-06 12:04:50 -06:00
Paul
0688b554ae
Use deque instead of vector for code readers so that the iterators and references will be stable
...
[ROCm/clr commit: 1354a447e1 ]
2020-02-06 11:56:17 -06:00
Paul
1354a447e1
Use deque instead of vector for code readers so that the iterators and references will be stable
2020-02-06 11:56:17 -06:00
Paul
41193acfdf
Use deque instead of vector for code readers so that the iterators and references will be stable
...
[ROCm/hip commit: 08123cff0d ]
2020-02-06 11:56:17 -06:00
Paul
08123cff0d
Use deque instead of vector for code readers so that the iterators and references will be stable
2020-02-06 11:56:17 -06:00
Paul Fultz II
29bb65f6e0
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
[ROCm/clr commit: 57b1b03261 ]
2019-11-20 21:33:42 +05:30
Paul Fultz II
57b1b03261
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
2019-11-20 21:33:42 +05:30
Paul Fultz II
27112bbdf0
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
[ROCm/hip commit: 8519a1411c ]
2019-11-20 21:33:42 +05:30
Paul Fultz II
8519a1411c
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
2019-11-20 21:33:42 +05:30
Paul Fultz II
a61aaacbca
Use hcc when building with hcc compiler ( #1225 )
...
* Use hcc when building with hcc compiler
* Fix misnamed variable
* Dont set HIP_RUNTIME
[ROCm/clr commit: d359cd4449 ]
2019-09-05 10:03:04 +00:00
Paul Fultz II
d359cd4449
Use hcc when building with hcc compiler ( #1225 )
...
* Use hcc when building with hcc compiler
* Fix misnamed variable
* Dont set HIP_RUNTIME
2019-09-05 10:03:04 +00:00
Paul Fultz II
9082a9990e
Use hcc when building with hcc compiler ( #1225 )
...
* Use hcc when building with hcc compiler
* Fix misnamed variable
* Dont set HIP_RUNTIME
[ROCm/hip commit: f6cf7e4e79 ]
2019-09-05 10:03:04 +00:00
Paul Fultz II
f6cf7e4e79
Use hcc when building with hcc compiler ( #1225 )
...
* Use hcc when building with hcc compiler
* Fix misnamed variable
* Dont set HIP_RUNTIME
2019-09-05 10:03:04 +00:00
Paul
e4b8bec66d
Add host and device targets
...
[ROCm/clr commit: 56734306ed ]
2018-04-24 14:04:24 -05:00
Paul
56734306ed
Add host and device targets
2018-04-24 14:04:24 -05:00
Paul
8643ed5ca9
Add host and device targets
...
[ROCm/hip commit: 516d92f4d7 ]
2018-04-24 14:04:24 -05:00
Paul
516d92f4d7
Add host and device targets
2018-04-24 14:04:24 -05:00
Paul
e4306010b8
Update for lower case hip
...
[ROCm/clr commit: 7e3a2bc1eb ]
2017-02-22 15:18:38 +05:30
Paul
7e3a2bc1eb
Update for lower case hip
2017-02-22 15:18:38 +05:30
Paul
b98e396fc9
Update for lower case hip
...
[ROCm/hip commit: 5dbf7e0618 ]
2017-02-22 15:18:38 +05:30
Paul
5dbf7e0618
Update for lower case hip
2017-02-22 15:18:38 +05:30