We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0092426 commit cc98265Copy full SHA for cc98265
sys_opt/kernel_swap/config.mk
@@ -1,3 +1,3 @@
1
-ifneq ($(HOST_ARCH), x86)
2
-CXXFLAGS += -Ddevice_type
+ifeq ($(findstring dfx, $(DEVICE)), dfx)
+CXXFLAGS += -Ddfx_device
3
endif
sys_opt/kernel_swap/src/host.cpp
@@ -23,7 +23,7 @@ int main(int argc, char **argv) {
23
// Command Line Parser
24
sda::utils::CmdLineParser parser;
25
26
-#ifdef device_type
+#ifdef dfx_device
27
if (xcl::is_hw_emulation()) {
28
std::cout
29
<< "INFO: This example is not supported for dfx platforms for hw_emu"
0 commit comments