Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 0b6971e

Browse files
committed
SWDEV-253548 : clean up gfx-arch macros
Change-Id: I8deb2ea44f556260bb78d24f68b04b0c730ed4d8
1 parent 25574da commit 0b6971e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

device/devprogram.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,10 +1696,6 @@ std::vector<std::string> Program::ProcessOptions(amd::option::Options* options)
16961696

16971697
if (isHIP()) {
16981698
optionsVec.push_back("-D__HIP_ROCclr__=1");
1699-
scratchStr.clear();
1700-
std::string target(machineTarget_);
1701-
std::transform(target.begin(), target.end(), target.begin(), ::toupper);
1702-
optionsVec.push_back(scratchStr.append("-D__HIP_ARCH_").append(target).append("__=1"));
17031699
} else {
17041700
int major, minor;
17051701
::sscanf(device().info().version_, "OpenCL %d.%d ", &major, &minor);

0 commit comments

Comments
 (0)