Hi Royi,

Regarding your point 1, I've produced a cross compiler that produces Linux 
object files under Windows. The changes are:

   1. In ispc.cpp, change the line 
   'triple.setTriple(llvm::sys::getDefaultTargetTriple());' to 
   'triple.setTriple("x86_64--linux-gnu");'
   2. In ispc.vcxproj:
      1. Add '--target=x86_64--linux-gnu' to the clang invocations and add 
      the include paths for your cross compiler headers (in my case this was a 
      GCC cross compiler)
      2. For the m4 invocations, change '-DBUILD_OS=WINDOWS' to 
      '-DBUILD_OS=UNIX'
      3. I had to create an empty file gnu/stubs.h
   4. Change the version string to indicate that this is not the standard 
   compiler
   
Then you just build the compiler as usual.

HTH,

Steve.
On Friday, 17 August 2018 04:41:40 UTC+1, Royi wrote:
>
> Dmitry,
> 2 questions with your permission:
>
>    1. Is there a way to generate object file for Linux and macOS on a 
>    Windows Machine?
>    2. Does ISPC have plans to support offloading to Inetl iGPU? Does ISPC 
>    have plans to support the future Intel Discrete GPU?
>
> Thank You.
>
>
> On Saturday, November 11, 2017 at 6:12:41 AM UTC+2, Dmitry Babokin wrote:
>>
>> Download page: http://ispc.github.io/downloads.html
>>
>> === v1.9.2 === (10 November 2017)
>>
>> An ISPC update, which brings out-of-the-box debug support on Windows,
>> better performance of most of the targets and a bunch of stability
>> and performance bug fixes.
>>
>> The release is based on patched LLVM 5.0 backend.
>>
>> Windows build is now supports only VS2015 and newer. If you are using 
>> earlier
>> versions, the only known problem that you may encounter is a problem with
>> "print" ISPC library function.
>>
>> AVX512 targets are the main beneficiaries of a newer LLVM backend and
>> demonstrate the biggest performance improvements. SVML support is also
>> now available on these targets (requires linking by ICC compiler).
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to