- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.
Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17
SWDEV-2 - Change OpenCL version number from 2370 to 2371.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2117 edit
SWDEV-107271 - For APU system, when allocating USWC with enough USWC reported and the allocation fails, we should return false instead of looping forever.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#12 edit
SWDEV-2 - Change OpenCL version number from 2369 to 2370.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2116 edit
SWDEV-2 - Change OpenCL version number from 2368 to 2369.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2115 edit
SWDEV-99150 - Convert PerfCounter indexing scheme from ORCA to PAL.
PAL is using a different PerfCounter indexing scheme, so need to make the conversion to make CodeXL behave the same.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#8 edit
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.
+ 44 supported data types are added
- 46 at least to support
All the supported data types are also supported by hipify-clang (synced).
SWDEV-2 - Change OpenCL version number from 2367 to 2368.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2114 edit
SWDEV-2 - Change OpenCL version number from 2366 to 2367.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2113 edit
SWDEV-2 - Change OpenCL version number from 2365 to 2366.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2112 edit
SWDEV-2 - Change OpenCL version number from 2364 to 2365.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2111 edit
commit 931d3de6c1c903cfd47842bc5026a9294ac492b4
Author: Siu Chi Chan <siuchi.chan@amd.com>
Date: Mon Feb 13 10:54:06 2017 -0500
only force to libstdc++ if the g++ is older than version 5 since hcc already defaults to libstdc++ with newer g++
commit 1ef8d71aa788de7b9eead4906fe56186f06d7d3f
Author: scchan <siuchi.chan@amd.com>
Date: Sun Feb 12 14:44:11 2017 -0500
remove hardcoded -lc++ in tests
commit 5d99ef338eb3a66523cc9ddd139e86c6fd707b9c
Author: scchan <siuchi.chan@amd.com>
Date: Sun Feb 12 14:35:46 2017 -0500
force include libstdc++ headers and stdc++ only if g++ version < 5 since hcc uses libstdc++ by default if g++ > 5 is present
commit a2bc21b24d100feefe91cd3cb2271238bda0738a
Author: scchan <siuchi.chan@amd.com>
Date: Fri Feb 10 04:36:27 2017 -0500
use hcc-config to generate compiler and linker flags
Change-Id: I13a79629c0adfd75439a47d0488ff4fd619c55ba
(cherry picked from commit 866e744e40cf1378af8a679b54959bf5226c340f)
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/65
[Bug]
Access violation in cudaStructVar matcher.
StringRef name = structVar->getType()
->getAsStructureType()
->getDecl() // <--- Access Violation
->getNameAsString();
[Solution]
Add isStructureType() check before getting type as Struct.
[ToDo]
Find case-studies for that StructVar matcher with types other than Struct.
SWDEV-112401 - [OCLonROCm vs LinuxPro][Fiji][Perf] Around ~ 70% performance drop observed with OCL SDK - BlackScholes test
- Switch persistent emulation to device memory instead of system memory, since ROCr doesn't support visible heap without large bar. It's a potential tradeoff of persistent usage in the applications between an upload buffer or directly in a kernel.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#11 edit
CUstream_st -> hipStream_t *
CUevent_st -> hipEvent_t * (fixed, was -> hipEvent_t)
Warning:
[HIPIFY] warning: the following reference is not handled: 'CUstream_st' [struct var ptr]. (thrust/examples/cuda/async_reduce.cu)
[Explanation]
Narrow cudaKernelCallExpr matcher to isExpansionInMainFile() - to the file being actually converted (without system includes).
But as for Thrust, there are *.inl files, which are nevertheless being expanded in main file.
These files contain cuda kernel launches, which are not converted successfully by hipify, for instance:
thrust/system/cuda/detail/detail/launch_closure.inl:98:23.
[ToDo]
File a bug on cudaKernelCallExpr matcher for conversion error (thrust\examples\cuda\<any cu example>).
SWDEV-2 - Change OpenCL version number from 2363 to 2364.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2110 edit