This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does gcc cilk plus support include offloading to graphics hardware?
- From: Hal Ashburner <hal at ashburner dot info>
- To: Ilya Verbin <iverbin at gmail dot com>
- Cc: Kirill Yukhin <kirill dot yukhin at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 21 Apr 2016 14:09:55 +1000
- Subject: Re: Does gcc cilk plus support include offloading to graphics hardware?
- Authentication-results: sourceware.org; auth=none
- References: <CACCZV9Zpeyy7APrHnTV25rTFghT29UNYmwOVAT=43ABrB0azeQ at mail dot gmail dot com> <CADG=Z0FtYxUpkxBBtgPySJizRt__kD+Nm8Mjb4gHZkd0qNXo+Q at mail dot gmail dot com> <CACCZV9aS3dDbb7RxP96tAeHqC0SVb7Xq11CDa457D7WBurcjdg at mail dot gmail dot com>
Another cilk plus question:
Is op_ostream also considered to be outside of cilk plus?
https://www.cilkplus.org/docs/doxygen/include-dir/group___reducers_ostream.html
I am trying to compile the basic "Cilk Plus Tutorial Sources" code as
supplied at http://cilkplus.org/download
reducer-ostream-demo.cpp, reducer-string-demo.cpp and
reducer-wstring-demo.cpp I am unable to get to compile.
Thank you kindly
----
Makefile:
FLAGS=-std=c++14 -Wall -O3 -march=native
CILK_FLAGS=-fcilkplus
SOURCES=$(shell ls *.cpp)
BINS=$(SOURCES:.cpp=)
all:$(BINS)
%:%.cpp
g++ $(FLAGS) $(CILK_FLAGS) $< -o $@