Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespaces #551

Merged
merged 43 commits into from
Jul 8, 2021
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ae7c0e9
Add the flamegpu::, flamegpu::util:: and flamegpu::visualiser namespaces
ptheywood May 17, 2021
be6bf4e
Rename BUILD_SWIG_PYTHON_VIRTUALENV to BUILD_SWIG_PYTHON_VENV
ptheywood Jun 17, 2021
f442383
Place the python output files into a config specific folder
ptheywood Jun 17, 2021
40ebccd
Remove the <os>-x64 from lib/bin paths.
ptheywood Jun 17, 2021
8e7ae5e
Suppress CMake version deprecation warning for rapidjson
ptheywood Jun 18, 2021
5dbfae4
Renaame flamegpu/flame_api.h -> flamegpu/flamegpu.h
ptheywood Jun 18, 2021
b93b80c
Examples should only include flamegpu/flamegpu.h
ptheywood Jun 18, 2021
3ee13ee
Delete flamegpu/runtime/flamegpu_api.h it was unneccesary
ptheywood Jun 18, 2021
fd87c9b
Rename flamegpu::flamegpu_internal to flamegpu::detail
ptheywood Jun 18, 2021
f2c5680
flamegpu::curve_internal -> flamegpu::curve::detail
ptheywood Jun 18, 2021
ddbab65
RunPlanVec -> RunPlanVector
ptheywood Jun 18, 2021
e678950
Rename variables cuda_model to cudaSimulation
ptheywood Jun 18, 2021
25615fb
exception/FGPUStaticAssert -> flamegpu::util::StaticAssert
ptheywood Jun 18, 2021
74278ad
File / Class renaming and splitting for the io directory
ptheywood Jun 23, 2021
d12d0b0
Create the flamegpu::io namespace
ptheywood Jun 24, 2021
636bead
Prevent jitify, tinyxml2 and detail namespaces from appearing in doxygen
ptheywood Jun 24, 2021
79b35d2
Provide AgentVariableHash struct instead of specialisaing template in…
ptheywood Jun 24, 2021
037d3b2
Utility for pairs of <string, unsigned> and maps with these pairs as …
ptheywood Jun 24, 2021
cce0031
flamegpu::exception namespace
ptheywood Jun 24, 2021
39791ac
Disable some printf's from DependencyGraph
ptheywood Jun 24, 2021
b3dd2f6
Remove deprecated curve error checking methods / symbols
ptheywood Jun 25, 2021
2573be3
AgentFunction.h->.cuh and AgentFunctionData.h->.cuh.
ptheywood Jun 28, 2021
fa89ceb
Add missing __threadsync in the AgentFunction{Condition}Wrapper
ptheywood Jun 28, 2021
5ac6145
Remove unused Exceptions. Closes #578
ptheywood Jun 28, 2021
8782977
Remove use of DependencyGraph default constructor in boids_bruteforce…
ptheywood Jun 28, 2021
66caa47
CUDAErrorChecking.h -> .cuh
ptheywood Jun 28, 2021
f67dc51
FGPU -> FLAMEGPU
ptheywood Jun 29, 2021
02b3436
Add an id_t python test from test_cuda_simulation
ptheywood Jun 29, 2021
9e969a9
Only include ModelVis.h in CUDASimualtion if VISUSALTION is enabled
ptheywood Jun 29, 2021
c28d87b
flamegpu::FLAME_GPU_AGENT_STATUS -> flamegpu::AGENT_STATUS
ptheywood Jun 29, 2021
1fc45b0
Move MemoryVector into detail
ptheywood Jun 29, 2021
4c78196
Split GenericMemoryVector to its own header file
ptheywood Jun 29, 2021
e3d8a0f
Move non-public util API classes int util::detail
ptheywood Jun 30, 2021
1d79595
Move CUDAErrorChecking into flamegpu::detail
ptheywood Jun 30, 2021
70427ed
Remove unneccesary #includes
ptheywood Jun 30, 2021
6e2f243
Place curve into flamegpu::detail::curve
ptheywood Jun 30, 2021
8e46a76
.h->.cuh where headers include device symbols (__global__, __device__…
ptheywood Jul 1, 2021
7d44bf3
RTC: only inlucde the required message types for a given kernel.
ptheywood Jul 1, 2021
3ea4901
FLAMEGPU_CONDITION_RESULT -> flamegpu::CONDITION_RESULT
ptheywood Jul 2, 2021
5608031
Remove deprecated curve enums from curve_rtc dynamic headers
ptheywood Jul 2, 2021
87b463c
Split MsgSpecialisationHandler to its own file
ptheywood Jul 7, 2021
2a33ff4
Update visualisation includes to use the new directory paths
ptheywood Jul 7, 2021
d808bc5
Update CI to CUDA 11.4
ptheywood Jul 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Examples should only include flamegpu/flamegpu.h
ptheywood committed Jul 7, 2021
commit b93b80c6ab11924f042c917147f29c040a927968
3 changes: 0 additions & 3 deletions examples/circles_bruteforce/src/main.cu
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include "flamegpu/flamegpu.h"
#include "flamegpu/util/nvtx.h"



FLAMEGPU_AGENT_FUNCTION(output_message, flamegpu::MsgNone, flamegpu::MsgBruteForce) {
FLAMEGPU->message_out.setVariable<flamegpu::id_t>("id", FLAMEGPU->getID());
1 change: 0 additions & 1 deletion examples/game_of_life/src/main.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "flamegpu/flamegpu.h"
#include "flamegpu/util/nvtx.h"

FLAMEGPU_AGENT_FUNCTION(output, flamegpu::MsgNone, flamegpu::MsgArray2D) {
FLAMEGPU->message_out.setVariable<char>("is_alive", FLAMEGPU->getVariable<unsigned int>("is_alive"));
4 changes: 0 additions & 4 deletions examples/sugarscape/src/main.cu
Original file line number Diff line number Diff line change
@@ -3,11 +3,7 @@
#include <cstdlib>
#include <fstream>


#include "flamegpu/flamegpu.h"
#include "flamegpu/runtime/flamegpu_api.h"
#include "flamegpu/io/factory.h"
#include "flamegpu/util/nvtx.h"

// Grid Size (the product of these is the agent count)
#define GRID_WIDTH 256