foreman
0b857151c1
P4 to Git Change 1344681 by lmoriche@lmoriche_opencl_dev on 2016/11/22 12:27:06
...
SWDEV-94610 - Migrate the program loading code to HSA 1.1 (loader v2). Remove the hsaCodeObject_, brigModule_ and brigContainer_.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#15 edit
[ROCm/clr commit: ed20536075 ]
2016-11-22 12:42:15 -05:00
foreman
ed20536075
P4 to Git Change 1344681 by lmoriche@lmoriche_opencl_dev on 2016/11/22 12:27:06
...
SWDEV-94610 - Migrate the program loading code to HSA 1.1 (loader v2). Remove the hsaCodeObject_, brigModule_ and brigContainer_.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#15 edit
2016-11-22 12:42:15 -05:00
Aditya Atluri
b8b1459a64
added fast math APIs
...
1. Added fast math apis for sin, cos, tan, sincos
2. Added test for trig math functions
3. Added logarithm fast math
4. Changed how hipGetDevice, hipDeviceGetCacheConfig emit errors
Change-Id: Ie6ab594ddd5853cbe85e39a2f6d3479a807fa323
[ROCm/clr commit: 1a85762f53 ]
2016-11-22 10:20:09 -06:00
Aditya Atluri
1a85762f53
added fast math APIs
...
1. Added fast math apis for sin, cos, tan, sincos
2. Added test for trig math functions
3. Added logarithm fast math
4. Changed how hipGetDevice, hipDeviceGetCacheConfig emit errors
Change-Id: Ie6ab594ddd5853cbe85e39a2f6d3479a807fa323
2016-11-22 10:20:09 -06:00
Aditya Atluri
94d2115d6d
added fast math APIs
...
1. Added fast math apis for sin, cos, tan, sincos
2. Added test for trig math functions
3. Added logarithm fast math
4. Changed how hipGetDevice, hipDeviceGetCacheConfig emit errors
Change-Id: Ie6ab594ddd5853cbe85e39a2f6d3479a807fa323
2016-11-22 10:20:09 -06:00
Harish Kasiviswanathan
4838f6e740
kfd ioctl. Remove unused definitions
...
Sync the file with Kernel header file
Change-Id: I52d52a38fb38bd4b37d8210ce79775b88c8a985d
2016-11-22 09:44:22 -05:00
Harish Kasiviswanathan
bd81b76c5a
kfd ioctl. Remove unused definitions
...
Sync the file with Kernel header file
Change-Id: I52d52a38fb38bd4b37d8210ce79775b88c8a985d
[ROCm/ROCR-Runtime commit: 4838f6e740 ]
2016-11-22 09:44:22 -05:00
foreman
69e1e13754
P4 to Git Change 1344454 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/22 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2282 to 2283.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2029 edit
[ROCm/clr commit: 16dc613b47 ]
2016-11-22 03:09:15 -05:00
foreman
16dc613b47
P4 to Git Change 1344454 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/22 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2282 to 2283.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2029 edit
2016-11-22 03:09:15 -05:00
Ramesh Errabolu
eb2efb83d1
Initial set of changes for ThreadTrace
...
Change-Id: I07ce31f9b4f508cef0fc9ca6dadcf26b6c90361e
2016-11-21 23:40:56 -06:00
Ramesh Errabolu
e3d8eac639
Initial set of changes for ThreadTrace
...
Change-Id: I07ce31f9b4f508cef0fc9ca6dadcf26b6c90361e
[ROCm/ROCR-Runtime commit: eb2efb83d1 ]
2016-11-21 23:40:56 -06:00
Rahul Garg
5f24847ec0
Removed hsaKmtReleaseSystemProperties call
...
Change-Id: I7cb992cccf587c333f0ca0cb518409f3944bdb06
[ROCm/clr commit: afbd278804 ]
2016-11-22 06:15:35 +05:30
Rahul Garg
afbd278804
Removed hsaKmtReleaseSystemProperties call
...
Change-Id: I7cb992cccf587c333f0ca0cb518409f3944bdb06
2016-11-22 06:15:35 +05:30
Rahul Garg
2dcf20ac6f
Removed hsaKmtReleaseSystemProperties call
...
Change-Id: I7cb992cccf587c333f0ca0cb518409f3944bdb06
2016-11-22 06:15:35 +05:30
Aditya Atluri
66bd811c0d
fixed error output for hipDeviceGetAttribute
...
Change-Id: I1e343a4e4e20e1a550d419f701cc1e60e9d03af4
[ROCm/clr commit: 912426716b ]
2016-11-21 18:07:01 -06:00
Aditya Atluri
912426716b
fixed error output for hipDeviceGetAttribute
...
Change-Id: I1e343a4e4e20e1a550d419f701cc1e60e9d03af4
2016-11-21 18:07:01 -06:00
Aditya Atluri
7145ea6a4a
fixed error output for hipDeviceGetAttribute
...
Change-Id: I1e343a4e4e20e1a550d419f701cc1e60e9d03af4
2016-11-21 18:07:01 -06:00
Aditya Atluri
a7bb6239ab
fixed texture header on nvcc
...
Change-Id: Ibe19f94be5edf972b6b51dea263e1088b6c60c1d
[ROCm/clr commit: 2ded0ce302 ]
2016-11-21 13:53:28 -06:00
Aditya Atluri
2ded0ce302
fixed texture header on nvcc
...
Change-Id: Ibe19f94be5edf972b6b51dea263e1088b6c60c1d
2016-11-21 13:53:28 -06:00
Aditya Atluri
d6ad91ffa4
fixed texture header on nvcc
...
Change-Id: Ibe19f94be5edf972b6b51dea263e1088b6c60c1d
2016-11-21 13:53:28 -06:00
Aditya Atluri
72ff879c0a
removed warnings in macros
...
Change-Id: I992b11f6aee2bab09f46885a2d12234aa6814cc5
[ROCm/clr commit: fef766df88 ]
2016-11-21 09:04:36 -06:00
Aditya Atluri
fef766df88
removed warnings in macros
...
Change-Id: I992b11f6aee2bab09f46885a2d12234aa6814cc5
2016-11-21 09:04:36 -06:00
Aditya Atluri
6052eaa761
removed warnings in macros
...
Change-Id: I992b11f6aee2bab09f46885a2d12234aa6814cc5
2016-11-21 09:04:36 -06:00
Aditya Atluri
59c423b36a
fixed compilation bugs
...
1. Texture functions are now compiling fine
2. Fixed hipFuncCache to hipFuncCache_t
Change-Id: I8f815887e4de43ee115bbaff249905b236541c39
[ROCm/clr commit: 2611de2477 ]
2016-11-21 08:56:30 -06:00
Aditya Atluri
2611de2477
fixed compilation bugs
...
1. Texture functions are now compiling fine
2. Fixed hipFuncCache to hipFuncCache_t
Change-Id: I8f815887e4de43ee115bbaff249905b236541c39
2016-11-21 08:56:30 -06:00
Aditya Atluri
2412c9a061
fixed compilation bugs
...
1. Texture functions are now compiling fine
2. Fixed hipFuncCache to hipFuncCache_t
Change-Id: I8f815887e4de43ee115bbaff249905b236541c39
2016-11-21 08:56:30 -06:00
foreman
56f33ddb54
P4 to Git Change 1343932 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/21 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2281 to 2282.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2028 edit
[ROCm/clr commit: 0f0ec2c5c7 ]
2016-11-21 03:07:41 -05:00
foreman
0f0ec2c5c7
P4 to Git Change 1343932 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/21 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2281 to 2282.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2028 edit
2016-11-21 03:07:41 -05:00
foreman
99851f08b9
P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
...
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
- Disable ROCm offline devices
- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
- Extract usedSGPRs and usedVGPRs for the amd kernel code header.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
[ROCm/clr commit: 2fecba9950 ]
2016-11-21 00:00:56 -06:00
foreman
2fecba9950
P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
...
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
- Disable ROCm offline devices
- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
- Extract usedSGPRs and usedVGPRs for the amd kernel code header.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
2016-11-21 00:00:56 -06:00
foreman
d06bdb9114
P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
...
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
- Disable ROCm offline devices
- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
- Extract usedSGPRs and usedVGPRs for the amd kernel code header.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
[ROCm/clr commit: 9fbdf64025 ]
2016-11-21 00:00:56 -06:00
foreman
9fbdf64025
P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
...
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
- Disable ROCm offline devices
- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
- Extract usedSGPRs and usedVGPRs for the amd kernel code header.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
2016-11-21 00:00:56 -06:00
Konstantin Zhuravlyov
4b86843409
Remove load_legacy parameter + change prefix for some loaded code object queries back to AMD
...
Change-Id: I74e905abd77dab3a7a00b5ced94cd9b5130365c5
2016-11-20 13:46:17 -05:00
Konstantin Zhuravlyov
05a7b5a9e4
Remove load_legacy parameter + change prefix for some loaded code object queries back to AMD
...
Change-Id: I74e905abd77dab3a7a00b5ced94cd9b5130365c5
[ROCm/ROCR-Runtime commit: 4b86843409 ]
2016-11-20 13:46:17 -05:00
Aditya Atluri
df27127960
Fixed hipDeviceGetCacheConfig on nvcc path
...
1. Changed test macro to emit line numbers
2. Added getcacheconfig api test for nvcc path
3. Fixed hipFuncCache_t data type
TODO: With this commit, right now there are 2 func cache datatypes
a. hipFuncCache_t for runtime API
b. hipFuncCache for driver API
Map these to a single data type
Change-Id: Ia47c9f5d7c2633638051bf17b1103048a1ede973
[ROCm/clr commit: b3c16ea7b5 ]
2016-11-20 12:18:08 -06:00
Aditya Atluri
b3c16ea7b5
Fixed hipDeviceGetCacheConfig on nvcc path
...
1. Changed test macro to emit line numbers
2. Added getcacheconfig api test for nvcc path
3. Fixed hipFuncCache_t data type
TODO: With this commit, right now there are 2 func cache datatypes
a. hipFuncCache_t for runtime API
b. hipFuncCache for driver API
Map these to a single data type
Change-Id: Ia47c9f5d7c2633638051bf17b1103048a1ede973
2016-11-20 12:18:08 -06:00
Aditya Atluri
afaa5fcf96
Fixed hipDeviceGetCacheConfig on nvcc path
...
1. Changed test macro to emit line numbers
2. Added getcacheconfig api test for nvcc path
3. Fixed hipFuncCache_t data type
TODO: With this commit, right now there are 2 func cache datatypes
a. hipFuncCache_t for runtime API
b. hipFuncCache for driver API
Map these to a single data type
Change-Id: Ia47c9f5d7c2633638051bf17b1103048a1ede973
2016-11-20 12:18:08 -06:00
Aditya Atluri
979e54d54e
added new test for getting attribute
...
1. Added copyright to all new tests
2. Added test for hipDeviceGetAttribute
Change-Id: I7a070c5b8316ef6575b3f4c49bda2769aea2a7c4
[ROCm/clr commit: e0aba8647f ]
2016-11-20 11:53:16 -06:00
Aditya Atluri
e0aba8647f
added new test for getting attribute
...
1. Added copyright to all new tests
2. Added test for hipDeviceGetAttribute
Change-Id: I7a070c5b8316ef6575b3f4c49bda2769aea2a7c4
2016-11-20 11:53:16 -06:00
Aditya Atluri
0edc082ff6
added new test for getting attribute
...
1. Added copyright to all new tests
2. Added test for hipDeviceGetAttribute
Change-Id: I7a070c5b8316ef6575b3f4c49bda2769aea2a7c4
2016-11-20 11:53:16 -06:00
foreman
f566fdb18a
P4 to Git Change 1343745 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/20 03:00:05
...
SWDEV-2 - Change OpenCL version number from 2280 to 2281.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2027 edit
[ROCm/clr commit: d145efcfad ]
2016-11-20 03:17:40 -05:00
foreman
d145efcfad
P4 to Git Change 1343745 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/20 03:00:05
...
SWDEV-2 - Change OpenCL version number from 2280 to 2281.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2027 edit
2016-11-20 03:17:40 -05:00
Aditya Atluri
76fbc233af
added copy right to new header
...
Change-Id: I16e1d02194551e4b20019bcb6850a3f84882ef18
[ROCm/clr commit: cc829f04c5 ]
2016-11-19 23:02:56 -06:00
Aditya Atluri
cc829f04c5
added copy right to new header
...
Change-Id: I16e1d02194551e4b20019bcb6850a3f84882ef18
2016-11-19 23:02:56 -06:00
Aditya Atluri
a6c4304725
added copy right to new header
...
Change-Id: I16e1d02194551e4b20019bcb6850a3f84882ef18
2016-11-19 23:02:56 -06:00
Aditya Atluri
21470101c7
added tests to check nvcc runtime api output
...
Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f
[ROCm/clr commit: 6692ee09d7 ]
2016-11-19 21:36:28 -06:00
Aditya Atluri
6692ee09d7
added tests to check nvcc runtime api output
...
Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f
2016-11-19 21:36:28 -06:00
Aditya Atluri
428041cfc2
added tests to check nvcc runtime api output
...
Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f
2016-11-19 21:36:28 -06:00
foreman
1f1f13319b
P4 to Git Change 1343667 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/19 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2279 to 2280.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2026 edit
[ROCm/clr commit: 53bbf86f04 ]
2016-11-19 03:12:37 -05:00
foreman
53bbf86f04
P4 to Git Change 1343667 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/19 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2279 to 2280.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2026 edit
2016-11-19 03:12:37 -05:00