This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does gcc cilk plus support include offloading to graphics hardware?


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 $@


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]