P4 to Git Change 1548048 by gandryey@gera-w8 on 2018/04/30 16:08:29

SWDEV-151981 - Removal of CPU support on Windows
	- Part 1. Remove makefile options for CPU device support

	http://ocltc.amd.com/reviews/r/14737/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#174 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#56 edit
... //depot/stg/opencl/drivers/opencl/library/Makefile#33 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#226 edit
... //depot/stg/opencl/drivers/opencl/runtime/Makefile#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#217 edit


[ROCm/clr commit: f5375395f3]
Tento commit je obsažen v:
foreman
2018-04-30 20:23:40 -04:00
rodič 8f5b809e9b
revize 8c03d1ce49
2 změnil soubory, kde provedl 0 přidání a 18 odebrání
-8
Zobrazit soubor
@@ -23,14 +23,6 @@ ifeq ($(BUILD_LLVM_HSAIL_TARGET),yes)
GCPPFLAGS += $(DEFSWITCH) WITH_TARGET_HSAIL
endif
ifeq ($(BUILD_LLVM_ARM_TARGET),yes)
GCPPFLAGS += $(DEFSWITCH) WITH_TARGET_ARM
endif
ifeq ($(BUILD_LLVM_X86_TARGET),yes)
GCPPFLAGS += $(DEFSWITCH) WITH_TARGET_X86
endif
GCPPFLAGS += $(ASIC_REG_INCS)
GCPPFLAGS += $(INCSWITCH) "$(COMPLIB_DEPTH)"
GCPPFLAGS += $(INCSWITCH) "$(OPENCL_DEPTH)/runtime"
-10
Zobrazit soubor
@@ -11,10 +11,6 @@
extern amd::AppProfile* rocCreateAppProfile();
#endif
#if defined(WITH_CPU_DEVICE)
#include "device/cpu/cpudevice.hpp"
#endif // WITH_CPU_DEVICE
#if defined(WITH_PAL_DEVICE)
// namespace pal {
extern bool PalDeviceLoad();
@@ -176,9 +172,6 @@ bool Device::init() {
ret |= PalDeviceLoad();
}
#endif // WITH_PAL_DEVICE
#if defined(WITH_CPU_DEVICE)
ret |= cpu::Device::init();
#endif // WITH_CPU_DEVICE
return ret;
}
@@ -203,9 +196,6 @@ void Device::tearDown() {
PalDeviceUnload();
}
#endif // WITH_PAL_DEVICE
#if defined(WITH_CPU_DEVICE)
cpu::Device::tearDown();
#endif // WITH_CPU_DEVICE
}
Device::Device(Device* parent)