Simplified travis and added some new options
Things left to do:
- [ ] figure out why windows doesn't see any OpenCL platform/device
- [ ] cache boost installation on windows
- [X] cache boost installation on osx/gcc combo
Coverage remained the same at 84.02% when pulling eecaba169acbfc3cd33ae54e5f0ca53fcabc0ad0 on Zialus:travis-ci into 2135633bc7f6bddaf09ae409a63a83174e89c881 on boostorg:develop.
@jszuppe could you help out with the caching of boost on windows?
I'm not sure what to do about the OpenCL part though. It's working fine on appveyor. https://ci.appveyor.com/project/Zialus/compute/builds/21322560
@jszuppe could you help out with the caching boost on windows?
Sure, but first we need to make it detect an OpenCL device. For that you can use clinfo, no need to build Boost.Compute.
I'm not sure what to do about the OpenCL part though. It's working fine on appveyor.
Potential problems: MinGW-W64, intel 16.1.1 drivers (lack of support for used CPU). CMake can locate OpenCL.lib file installed using NuGet, I guess that's only ICD. The problem may be in locating .dll file provided by Intel with OpenCL implementation.
Result of running wmic cpu list full
AddressWidth=64
Architecture=9
Availability=3
Caption=Intel64 Family 6 Model 63 Stepping 0
ConfigManagerErrorCode=
ConfigManagerUserConfig=
CpuStatus=1
CreationClassName=Win32_Processor
CurrentClockSpeed=2300
CurrentVoltage=
DataWidth=64
Description=Intel64 Family 6 Model 63 Stepping 0
DeviceID=CPU0
ErrorCleared=
ErrorDescription=
ExtClock=
Family=1
InstallDate=
L2CacheSize=
L2CacheSpeed=
LastErrorCode=
Level=6
LoadPercentage=9
Manufacturer=GenuineIntel
MaxClockSpeed=2300
Name=Intel(R) Xeon(R) CPU @ 2.30GHz
OtherFamilyDescription=
PNPDeviceID=
PowerManagementCapabilities=
PowerManagementSupported=FALSE
ProcessorId=1F8BFBFF000306F0
ProcessorType=3
Revision=16128
Role=CPU
SocketDesignation=CPU 1
Status=OK
StatusInfo=3
Stepping=
SystemCreationClassName=Win32_ComputerSystem
SystemName=PACKER-5BEC3ACC
UniqueId=
UpgradeMethod=1
Version=
VoltageCaps=0
hey @jszuppe did you end up figuring something out about this?
I guess I could open a thread on travis community forum if you want me to.
Any updates on this?
I got no answers from the travis community - https://travis-ci.community/t/im-trying-to-use-opencl-but-clinfo-reports-0-platforms/2611