Rahul Garg
5b0a4eeaba
Updated error codes in Memory APIs
...
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
2016-09-16 14:59:08 +05:30
Rahul Garg
126b2e0eca
Updated error codes in Memory APIs
...
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
2016-09-16 14:59:08 +05:30
Rahul Garg
fb1c7029c4
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
[ROCm/clr commit: 58a828ede5 ]
2016-09-16 14:14:45 +05:30
Rahul Garg
58a828ede5
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
2016-09-16 14:14:45 +05:30
Rahul Garg
347aaf7680
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
2016-09-16 14:14:45 +05:30
Rahul Garg
de2c138bd7
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
[ROCm/clr commit: cb3bff0a0d ]
2016-09-16 12:59:41 +05:30
Rahul Garg
cb3bff0a0d
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
2016-09-16 12:59:41 +05:30
Rahul Garg
76949b6374
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
2016-09-16 12:59:41 +05:30
Maneesh Gupta
8a90abd86f
Ignore .* files again
...
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
[ROCm/clr commit: 4ceb73baa1 ]
2016-09-16 12:39:33 +05:30
Maneesh Gupta
4ceb73baa1
Ignore .* files again
...
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
2016-09-16 12:39:33 +05:30
Maneesh Gupta
71f9efd758
Ignore .* files again
...
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
2016-09-16 12:39:33 +05:30
Rahul Garg
b16b1fdda8
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
[ROCm/clr commit: 6139d5f587 ]
2016-09-16 11:18:34 +05:30
Rahul Garg
6139d5f587
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
2016-09-16 11:18:34 +05:30
Rahul Garg
13e88c54d7
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
2016-09-16 11:18:34 +05:30
Rahul Garg
2594f0d017
HIP/NVCC path for hipChooseDevice
...
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
[ROCm/clr commit: 2c1bd4bd10 ]
2016-09-16 11:15:03 +05:30
Rahul Garg
2c1bd4bd10
HIP/NVCC path for hipChooseDevice
...
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
2016-09-16 11:15:03 +05:30
Rahul Garg
f3f0c6ae3c
HIP/NVCC path for hipChooseDevice
...
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
2016-09-16 11:15:03 +05:30
Maneesh Gupta
ae7c3ac338
FindHIP: Initial support for HIP_ADD_LIBRARY
...
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
[ROCm/clr commit: 730268e087 ]
2016-09-16 10:17:27 +05:30
Maneesh Gupta
730268e087
FindHIP: Initial support for HIP_ADD_LIBRARY
...
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
2016-09-16 10:17:27 +05:30
Maneesh Gupta
a4c4be2020
FindHIP: Initial support for HIP_ADD_LIBRARY
...
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
2016-09-16 10:17:27 +05:30
Maneesh Gupta
99dfaeec96
FindHIP: determine HIP_PLATFORM at build time instead of compile time
...
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
[ROCm/clr commit: 2c3ce272e6 ]
2016-09-16 10:16:34 +05:30
Maneesh Gupta
2c3ce272e6
FindHIP: determine HIP_PLATFORM at build time instead of compile time
...
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
2016-09-16 10:16:34 +05:30
Maneesh Gupta
2674204ade
FindHIP: determine HIP_PLATFORM at build time instead of compile time
...
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
2016-09-16 10:16:34 +05:30
Aditya Atluri
be3fd69bd1
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
2016-09-15 11:40:17 -05:00
Aditya Atluri
891d5efd18
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
[ROCm/clr commit: 8faf2ed7e3 ]
2016-09-15 11:40:17 -05:00
Aditya Atluri
8faf2ed7e3
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
2016-09-15 11:40:17 -05:00
Aditya Atluri
4911876371
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
2016-09-15 11:40:17 -05:00
Aditya Atluri
29a9549a47
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
[ROCm/clr commit: 6cb5a13a2b ]
2016-09-15 11:28:18 -05:00
Aditya Atluri
6cb5a13a2b
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
2016-09-15 11:28:18 -05:00
Aditya Atluri
7407cb2600
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
2016-09-15 11:28:18 -05:00
Aditya Atluri
18756a8e91
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
[ROCm/clr commit: 2c12394d52 ]
2016-09-15 10:50:26 -05:00
Aditya Atluri
2c12394d52
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
2016-09-15 10:50:26 -05:00
Aditya Atluri
8110f562ab
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
2016-09-15 10:50:26 -05:00
Maneesh Gupta
3ea180e0fc
Fixed broken HIP build on NVCC path
...
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
[ROCm/clr commit: 4b1c7eed8a ]
2016-09-15 17:02:37 +05:30
Maneesh Gupta
4b1c7eed8a
Fixed broken HIP build on NVCC path
...
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
2016-09-15 17:02:37 +05:30
Maneesh Gupta
af8d308745
Fixed broken HIP build on NVCC path
...
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
2016-09-15 17:02:37 +05:30
Amber Lin
660a6ebbd4
Disable CPU cache info in non-x86
...
CPU cache information reported by Thunk topology is obtained from cpuid
instruction. This instruction only applies to X86 systems. It can cause
compile errors on non-X86 platforms. This patch temporarily disables CPU
cache functions in topology for non-X86 platforms in order to compile.
Change-Id: If86671817b0d036cb324eebf3f354682bfb75856
2016-09-14 17:30:50 -04:00
Amber Lin
6b33ada07b
Disable CPU cache info in non-x86
...
CPU cache information reported by Thunk topology is obtained from cpuid
instruction. This instruction only applies to X86 systems. It can cause
compile errors on non-X86 platforms. This patch temporarily disables CPU
cache functions in topology for non-X86 platforms in order to compile.
Change-Id: If86671817b0d036cb324eebf3f354682bfb75856
[ROCm/ROCR-Runtime commit: 660a6ebbd4 ]
2016-09-14 17:30:50 -04:00
Rahul Garg
e30f24ee85
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
[ROCm/clr commit: d3aff68f37 ]
2016-09-14 12:53:08 +05:30
Rahul Garg
d3aff68f37
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
2016-09-14 12:53:08 +05:30
Rahul Garg
9e15b59dc4
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
2016-09-14 12:53:08 +05:30
foreman
75f80ffbfb
P4 to Git Change 1313945 by wchau@wchau_OCL_boltzmann on 2016/09/13 15:57:45
...
SWDEV-94605 - [OCL-LC-ROCm] ability to load offline (and online) generated binaries using the HSA code object format
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#203 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#83 edit
[ROCm/clr commit: 0495f895a2 ]
2016-09-13 16:16:35 -04:00
foreman
0495f895a2
P4 to Git Change 1313945 by wchau@wchau_OCL_boltzmann on 2016/09/13 15:57:45
...
SWDEV-94605 - [OCL-LC-ROCm] ability to load offline (and online) generated binaries using the HSA code object format
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#203 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#83 edit
2016-09-13 16:16:35 -04:00
Amber Lin
4911c91389
Search VM object by range
...
Add vm_find_object_by_userptr_range so QueryPointerInfo can find the
object as well when the pointer is not the starting address but it's
inside the memory range. Also rename vm_find_object_xxx functions to
_by_address and _by_address_range to be consistent.
Change-Id: I5c2b3a05b41493e32b7fd9154665bf078b043606
2016-09-13 12:44:29 -04:00
Amber Lin
2dec7b1d74
Search VM object by range
...
Add vm_find_object_by_userptr_range so QueryPointerInfo can find the
object as well when the pointer is not the starting address but it's
inside the memory range. Also rename vm_find_object_xxx functions to
_by_address and _by_address_range to be consistent.
Change-Id: I5c2b3a05b41493e32b7fd9154665bf078b043606
[ROCm/ROCR-Runtime commit: 4911c91389 ]
2016-09-13 12:44:29 -04:00
Christophe Paquot
538736a660
Add tiling code
...
Introducing tiling format for images, still using LINEAR for now.
Using the new KFD/Thunk API hsaKmtGetTileConfig API for the address library.
Change-Id: Ic0677429dd320eef09ab62dddaf9b2dd94c4f904
2016-09-13 11:42:10 -04:00
Christophe Paquot
5544a9e5e5
Add tiling code
...
Introducing tiling format for images, still using LINEAR for now.
Using the new KFD/Thunk API hsaKmtGetTileConfig API for the address library.
Change-Id: Ic0677429dd320eef09ab62dddaf9b2dd94c4f904
[ROCm/ROCR-Runtime commit: 538736a660 ]
2016-09-13 11:42:10 -04:00
Maneesh Gupta
c9c4ce4c96
Directed tests: Remove support for HIP_BUILD_LOCAL=0
...
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
[ROCm/clr commit: 33fe29ae9f ]
2016-09-13 20:40:19 +05:30
Maneesh Gupta
33fe29ae9f
Directed tests: Remove support for HIP_BUILD_LOCAL=0
...
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
2016-09-13 20:40:19 +05:30
Maneesh Gupta
92fcd74a38
Directed tests: Remove support for HIP_BUILD_LOCAL=0
...
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
2016-09-13 20:40:19 +05:30