Comments (7)
what does your make.defs
say about ranges?
for example, this might be useful, as shown in make.defs.gcc
:
RANGEFLAG=-DUSE_GCC_RANGES
from kernels.
what does your
make.defs
say about ranges?for example, this might be useful, as shown in
make.defs.gcc
:RANGEFLAG=-DUSE_GCC_RANGES
It default says
RANGEFLAG=-DUSE_RANGES_TS -I../deps/range-v3/include
from kernels.
@jeffhammond how to choose part contents to build in allcxx instead build allcxx?
from kernels.
- change RANGEFLAG appropriately. use the GCC implementation if it's available.
- look at Cxx11/Makefile to see what targets exist. you can go to that subdirectory and build individual programs if you want.
from kernels.
@jeffhammond
I tried to build the stencil-range.cc, but it occurs error: 'range' has not been declared
. I have installed libboost-all-dev.How to solve the problem?
g++-11 -std=gnu++17 -pthread -O3 -mtune=native -ffast-math -Wall -Wno-ignored-attributes -Wno-deprecated-declarations -DPRKVERSION="2020" stencil-ranges.cc -DUSE_BOOST_IRANGE -I/usr/include/boost/ -DUSE_RANGES -o stencil-ranges
In file included from stencil-ranges.cc:66:
stencil_ranges.hpp: In function ‘void star1(int, prk::vector<double>&, prk::vector<double>&)’:
stencil_ranges.hpp:2:16: error: ‘ranges’ has not been declared
from kernels.
@jeffhammond Hello, I'm trying to run the Cxx11 cuda and SYCL programs in x86_64 Ubuntu-18.04 machine.But I'm unfamiliar with the make.defs config. Can you help me give you more precise make.defs config about cuda and SYCL? Thank you very much!
from kernels.
I tried to build the stencil-range.cc, but it occurs
error: 'range' has not been declared
. I have installed libboost-all-dev.How to solve the problem?g++-11 -std=gnu++17 -pthread -O3 -mtune=native -ffast-math -Wall -Wno-ignored-attributes -Wno-deprecated-declarations -DPRKVERSION="2020" stencil-ranges.cc -DUSE_BOOST_IRANGE -I/usr/include/boost/ -DUSE_RANGES -o stencil-ranges In file included from stencil-ranges.cc:66: stencil_ranges.hpp: In function ‘void star1(int, prk::vector<double>&, prk::vector<double>&)’: stencil_ranges.hpp:2:16: error: ‘ranges’ has not been declared
@wangzy0327
it sounds like a separate issue from the main thread, but I think ranges
are from C++20, you are using -std=gnu++17
here as opposed to what you did earlier
from kernels.
Related Issues (20)
- redo Travis CI infrastructure
- fix Numba p2p
- Broken link in Readme to docs HOT 1
- debug multi-GPU SYCL nstream HOT 1
- add DG1 helper
- Use LoopVectorization in julia stencil / transpose HOT 7
- Scala deprecation warnings HOT 1
- ALPAKA support HOT 8
- nvhpc offloading on RH8/p9+V100 system: supported? HOT 5
- Data Race due to num_error variable HOT 3
- CUDA stencil inefficiency (compared to SYCL) HOT 3
- pic-sycl.cc uses C99 HOT 1
- OpenMP Synch_p2p depends on x86 HOT 7
- Fortran MPI p2p is buggy HOT 1
- transpose-petsc crashes HOT 1
- Cannot find -lkokkos HOT 6
- MPI transpose with datatypes HOT 1
- hip platform run stencil occurs "Segementation fault(core dumped)" HOT 3
- Kokkos kernels don't work under Kokkos version 4.3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kernels.