BabelStream/STD.make
Gonzalo Brito Gadeschi 0855805ce2 Add NVIDIA HPC SDK C++ parallel STL implementation
This commits adds an implementation using the C++ parallel STL.
The Makefile uses the NVIDIA HPC SDK `nvc++` compiler with the `-stdpar` flag.
Tested using the NVIDIA HPC SDK 20.9.
2020-11-23 03:08:44 -08:00

15 lines
331 B
Makefile

# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# For full license terms please see the LICENSE file distributed with this
# source code
CXXFLAGS=-O3 -std=c++17 -stdpar -DSTD
STD_CXX=nvc++
std-stream: main.cpp STDStream.cpp
$(STD_CXX) $(CXXFLAGS) $^ $(EXTRA_FLAGS) -o $@
.PHONY: clean
clean:
rm -f std-stream