P4 to Git Change 1590896 by vsytchen@vsytchen-win10 on 2018/08/08 14:49:41
SWDEV-79445 - OCL generic changes and code clean-up 1. std::auto_ptr is deprecated in c++11 and removed in c++17. Use unique_ptr instead. ReviewBoardURL = http://ocltc.amd.com/reviews/r/15576/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#23 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#65 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#21 edit
This commit is contained in:
@@ -319,7 +319,7 @@ class LightningProgram : public HSAILProgram {
|
||||
virtual bool createBinary(amd::option::Options* options) override;
|
||||
|
||||
//! Return a new transient compiler instance.
|
||||
static std::auto_ptr<amd::opencl_driver::Compiler> newCompilerInstance();
|
||||
static std::unique_ptr<amd::opencl_driver::Compiler> newCompilerInstance();
|
||||
|
||||
private:
|
||||
CodeObjectMD* metadata_; //!< Runtime metadata
|
||||
|
||||
Reference in New Issue
Block a user