P4 to Git Change 1552021 by gandryey@gera-w8 on 2018/05/08 15:00:13

SWDEV-151981 - Removal of CPU support on Windows
	- Part 5. Remove runtime logic that considered CPU device support.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#92 edit


[ROCm/clr commit: 3f79785a96]
This commit is contained in:
foreman
2018-05-08 15:47:58 -04:00
rodzic 32f1ab8a53
commit 1328646b3a
4 zmienionych plików z 140 dodań i 191 usunięć
@@ -605,7 +605,7 @@ bool Program::ParseAllOptions(const std::string& options, option::Options& parse
bool Symbol::setDeviceKernel(const Device& device, const device::Kernel* func, bool noAlias) {
// FIXME_lmoriche: check that the signatures are compatible
if (deviceKernels_.size() == 0 || device.type() == CL_DEVICE_TYPE_CPU) {
if (deviceKernels_.size() == 0) {
signature_ = func->signature();
}