Skip to content

Commit 954740c

Browse files
committed
[hipcc] Remove extra definition of hipBinUtilPtr_ in derived platforms
Fixes UB when hipBinUtilPtr_ is used. Fixes #182 Submitting on behalf of GitHub user @LunNova
1 parent 11540e5 commit 954740c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

amd/hipcc/src/hipBin_amd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ THE SOFTWARE.
4242

4343
class HipBinAmd : public HipBinBase {
4444
private:
45-
HipBinUtil* hipBinUtilPtr_;
4645
string hipClangPath_ = "";
4746
string roccmPathEnv_, hipRocclrPathEnv_, hsaPathEnv_;
4847
PlatformInfo platformInfoAMD_;

amd/hipcc/src/hipBin_nvidia.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ THE SOFTWARE.
3131

3232
class HipBinNvidia : public HipBinBase {
3333
private:
34-
HipBinUtil* hipBinUtilPtr_;
3534
string cudaPath_ = "";
3635
PlatformInfo platformInfoNV_;
3736
string hipCFlags_, hipCXXFlags_, hipLdFlags_;

0 commit comments

Comments
 (0)