Deven Desai
af586bbbf2
Checkin to fix bugs in math functions.
...
This change fixes the following bugs that were discovered while debuggnig TF unit test failures (cwise_ops_test)
1. __hisinf and __hisnan routines
Both had incorrect implementations.
2. abs
A "long long" (64bit int) version was missing, resulting in the 32bit version being used for 64bit ints (which resulted in incorrect results, when the value passed in was outside the 32bit int range)
3. lgamma
We seemed to have a custom version for the 'double' datatype (which was giving incorrect results). Replaced it with a call to the 'double' version of the underlying 'hc::precision_math::lgamma'
2018-04-24 18:10:07 +00:00
foreman
03e7b4704e
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
[ROCm/clr commit: 5eace16718 ]
2018-04-24 14:05:20 -04:00
foreman
5eace16718
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
2018-04-24 14:05:20 -04:00
foreman
f4b08ad496
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
[ROCm/hip commit: 13355e5de5 ]
2018-04-24 14:05:20 -04:00
foreman
13355e5de5
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
2018-04-24 14:05:20 -04:00
foreman
564d236903
P4 to Git Change 1545468 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/24 03:00:20
...
SWDEV-2 - Change OpenCL version number from 2637 to 2638.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2385 edit
[ROCm/clr commit: 03b72c3007 ]
2018-04-24 03:06:15 -04:00
foreman
03b72c3007
P4 to Git Change 1545468 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/24 03:00:20
...
SWDEV-2 - Change OpenCL version number from 2637 to 2638.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2385 edit
2018-04-24 03:06:15 -04:00
srinivas Charupally
8c8cd2dbd0
Adding concurrent init and init shutdown tests
...
Change-Id: Ifdbda16ae6c93a86373557f26eb414e40775d343
2018-04-24 11:56:50 +05:30
srinivas Charupally
ee40fbd721
Adding concurrent init and init shutdown tests
...
Change-Id: Ifdbda16ae6c93a86373557f26eb414e40775d343
[ROCm/ROCR-Runtime commit: 8c8cd2dbd0 ]
2018-04-24 11:56:50 +05:30
foreman
d84cb92795
P4 to Git Change 1545280 by gandryey@gera-w8 on 2018/04/23 16:17:52
...
SWDEV-79445 - OCL generic changes and code clean-up
- Switch scheduler parameters to the managed buffer allocation
- Use 8 bytes for the mem clear pattern in the program loader
- Use local memory for the hsa queue data
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#49 edit
[ROCm/clr commit: 30088df072 ]
2018-04-23 16:25:48 -04:00
foreman
30088df072
P4 to Git Change 1545280 by gandryey@gera-w8 on 2018/04/23 16:17:52
...
SWDEV-79445 - OCL generic changes and code clean-up
- Switch scheduler parameters to the managed buffer allocation
- Use 8 bytes for the mem clear pattern in the program loader
- Use local memory for the hsa queue data
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#49 edit
2018-04-23 16:25:48 -04:00
Aaron Enye Shi
1966257b5a
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
[ROCm/clr commit: 1149f88413 ]
2018-04-23 15:25:35 -04:00
Aaron Enye Shi
1149f88413
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
2018-04-23 15:25:35 -04:00
Aaron Enye Shi
583942c3cb
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
[ROCm/hip commit: 433866eb60 ]
2018-04-23 15:25:35 -04:00
Aaron Enye Shi
433866eb60
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
2018-04-23 15:25:35 -04:00
foreman
a808749b56
P4 to Git Change 1545170 by gandryey@gera-w8 on 2018/04/23 14:12:50
...
SWDEV-79445 - OCL generic changes and code clean-up
- Make all device locks mutable to avoid extra mem allocation calls
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#27 edit
[ROCm/clr commit: 6a47463986 ]
2018-04-23 14:27:48 -04:00
foreman
6a47463986
P4 to Git Change 1545170 by gandryey@gera-w8 on 2018/04/23 14:12:50
...
SWDEV-79445 - OCL generic changes and code clean-up
- Make all device locks mutable to avoid extra mem allocation calls
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#27 edit
2018-04-23 14:27:48 -04:00
Evgeny Mankov
469ffd68c9
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
[ROCm/clr commit: 14a95fc231 ]
2018-04-23 20:29:43 +03:00
Evgeny Mankov
14a95fc231
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:29:43 +03:00
Evgeny Mankov
31ddd40442
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
[ROCm/hip commit: b36001bbbf ]
2018-04-23 20:29:43 +03:00
Evgeny Mankov
b36001bbbf
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:29:43 +03:00
Evgeny Mankov
6974aca85f
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/clr commit: ad28f72ca9 ]
2018-04-23 20:22:15 +03:00
Evgeny Mankov
ad28f72ca9
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:22:15 +03:00
Evgeny Mankov
540fc92b1c
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/hip commit: 8499e79e2b ]
2018-04-23 20:22:15 +03:00
Evgeny Mankov
8499e79e2b
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:22:15 +03:00
foreman
6fe62d53bc
P4 to Git Change 1544934 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/23 03:00:06
...
SWDEV-2 - Change OpenCL version number from 2636 to 2637.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2384 edit
[ROCm/clr commit: 5fd508c342 ]
2018-04-23 03:08:15 -04:00
foreman
5fd508c342
P4 to Git Change 1544934 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/23 03:00:06
...
SWDEV-2 - Change OpenCL version number from 2636 to 2637.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2384 edit
2018-04-23 03:08:15 -04:00
rohit pathania
b1b036acb8
Memory Allocation Negative tests
...
Change-Id: Icdd355f2351968dd76a3bc466636e223573cfb16
2018-04-23 01:49:43 -04:00
rohit pathania
3cf867da15
Memory Allocation Negative tests
...
Change-Id: Icdd355f2351968dd76a3bc466636e223573cfb16
[ROCm/ROCR-Runtime commit: b1b036acb8 ]
2018-04-23 01:49:43 -04:00
foreman
7b013d2b37
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
[ROCm/clr commit: db522a2fbc ]
2018-04-22 21:17:27 -04:00
foreman
db522a2fbc
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
2018-04-22 21:17:27 -04:00
foreman
1cafd8bd20
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
[ROCm/hip commit: 66640b546f ]
2018-04-22 21:17:27 -04:00
foreman
66640b546f
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
2018-04-22 21:17:27 -04:00
foreman
fa81ecf335
P4 to Git Change 1544683 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/21 03:00:05
...
SWDEV-2 - Change OpenCL version number from 2635 to 2636.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2383 edit
[ROCm/clr commit: 97bb6b1058 ]
2018-04-21 03:09:15 -04:00
foreman
97bb6b1058
P4 to Git Change 1544683 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/21 03:00:05
...
SWDEV-2 - Change OpenCL version number from 2635 to 2636.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2383 edit
2018-04-21 03:09:15 -04:00
foreman
141d36d849
P4 to Git Change 1544622 by gandryey@gera-w8 on 2018/04/20 17:02:52
...
SWDEV-79445 - OCL generic changes and code clean-up
- Add managed buffer support and replace all uploads with the managed buffer allocations
- Add staging copy for small image writes
- Replace constant buffer in FillBuffer with a managed buffer also
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#48 edit
[ROCm/clr commit: 392724cc3f ]
2018-04-20 17:08:29 -04:00
foreman
392724cc3f
P4 to Git Change 1544622 by gandryey@gera-w8 on 2018/04/20 17:02:52
...
SWDEV-79445 - OCL generic changes and code clean-up
- Add managed buffer support and replace all uploads with the managed buffer allocations
- Add staging copy for small image writes
- Replace constant buffer in FillBuffer with a managed buffer also
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#48 edit
2018-04-20 17:08:29 -04:00
Qingchuan Shi
49d2175c74
debug suport for queue error.
...
1/ Revised debug event handler to handle different events.
2/ Added queue error handler using the callback in queue create, which will print out wave info when queue in error state.
3/ Preempt queue instead of destory queue when queue error state.
Change-Id: Ib727d208de9caf1c72c76d42268483b24aaebde8
2018-04-20 14:25:16 -04:00
Qingchuan Shi
286ca924f3
debug suport for queue error.
...
1/ Revised debug event handler to handle different events.
2/ Added queue error handler using the callback in queue create, which will print out wave info when queue in error state.
3/ Preempt queue instead of destory queue when queue error state.
Change-Id: Ib727d208de9caf1c72c76d42268483b24aaebde8
[ROCm/ROCR-Runtime commit: 49d2175c74 ]
2018-04-20 14:25:16 -04:00
Rahul Garg
ec3c6c4dda
Added deprecation note in cuCtx section
...
[ROCm/clr commit: a68b9b6bf6 ]
2018-04-20 22:43:58 +05:30
Rahul Garg
a68b9b6bf6
Added deprecation note in cuCtx section
2018-04-20 22:43:58 +05:30
Rahul Garg
6538884ebe
Added deprecation note in cuCtx section
...
[ROCm/hip commit: 39b5b07dc3 ]
2018-04-20 22:43:58 +05:30
Rahul Garg
39b5b07dc3
Added deprecation note in cuCtx section
2018-04-20 22:43:58 +05:30
Rahul Garg
3111ff5e40
Moved deprecated macro to the end
...
[ROCm/clr commit: bc61260168 ]
2018-04-20 21:57:23 +05:30
Rahul Garg
bc61260168
Moved deprecated macro to the end
2018-04-20 21:57:23 +05:30
Rahul Garg
c4df5688c4
Moved deprecated macro to the end
...
[ROCm/hip commit: 19cb6c61ab ]
2018-04-20 21:57:23 +05:30
Rahul Garg
19cb6c61ab
Moved deprecated macro to the end
2018-04-20 21:57:23 +05:30
Evgeny
d04f7095f4
HSA memory alloc/copy/free refactoring
2018-04-20 11:15:26 -05:00
Evgeny
0a8e945d88
HSA memory alloc/copy/free refactoring
...
[ROCm/rocprofiler commit: d04f7095f4 ]
2018-04-20 11:15:26 -05:00
Lakhan Singh
06dd83f7f1
SWDEV-141024
...
[ROCm/clr commit: 74faa61d52 ]
2018-04-20 17:40:00 +05:30