P4 to Git Change 2036435 by skudchad@skudchad_test2_win_opencl on 2019/11/25 18:48:27
SWDEV-203814 - HIPRTC Inprocess runtime changes
ReviewBoardURL = http://ocltc.amd.com/reviews/r/18311/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#106 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#50 edit
[ROCm/clr commit: f6db6a2209]
Dieser Commit ist enthalten in:
@@ -98,6 +98,7 @@ class Program : public amd::HeapObject {
|
||||
uint32_t hasGlobalStores_ : 1; //!< Program has writable program scope variables
|
||||
uint32_t xnackEnabled_ : 1; //!< Xnack was enabled during compilation
|
||||
uint32_t sramEccEnabled_ : 1; //!< SRAM ECC was enabled during compilation
|
||||
uint32_t isHIP_ : 1; //!< Determine if the program is for HIP
|
||||
};
|
||||
uint32_t flags_; //!< Program flags
|
||||
};
|
||||
@@ -240,6 +241,9 @@ class Program : public amd::HeapObject {
|
||||
//! Check if SRAM ECC is enable
|
||||
const bool sramEccEnable() const { return (sramEccEnabled_ == 1); }
|
||||
|
||||
//! Check if program is HIP based
|
||||
const bool isHIP() const { return (isHIP_ == 1); }
|
||||
|
||||
bool getGlobalVarFromCodeObj(std::vector<std::string>* var_names) const;
|
||||
bool getUndefinedVarFromCodeObj(std::vector<std::string>* var_names) const;
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren