P4 to Git Change 1725166 by gandryey@gera-w8 on 2019/01/02 15:41:59
SWDEV-79445 - OCL generic changes and code clean-up - Add dynamic switch between HSAIL and LC in ROCr path Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#108 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#48 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#26 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#95 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#42 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#71 edit
This commit is contained in:
@@ -62,7 +62,6 @@ protected:
|
||||
hsa_code_object_reader_t hsaCodeObjectReader_; //!< Handle to HSA code reader
|
||||
};
|
||||
|
||||
#if defined(WITH_COMPILER_LIB)
|
||||
class HSAILProgram : public roc::Program {
|
||||
public:
|
||||
HSAILProgram(roc::NullDevice& device);
|
||||
@@ -78,9 +77,7 @@ private:
|
||||
|
||||
bool saveBinaryAndSetType(type_t type);
|
||||
};
|
||||
#endif // defined(WITH_COMPILER_LIB)
|
||||
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
class LightningProgram : public roc::Program {
|
||||
public:
|
||||
LightningProgram(roc::NullDevice& device);
|
||||
@@ -96,7 +93,6 @@ private:
|
||||
|
||||
virtual bool setKernels(amd::option::Options* options, void* binary, size_t binSize) override;
|
||||
};
|
||||
#endif // defined(WITH_LIGHTNING_COMPILER)
|
||||
|
||||
/*@}*/} // namespace roc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user