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

#include and using namespace Injection #197

Open
kchabSS opened this issue Apr 23, 2024 · 0 comments
Open

#include and using namespace Injection #197

kchabSS opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kchabSS
Copy link
Collaborator

kchabSS commented Apr 23, 2024

OCCA <device>/include_std input JSON property enables/disables injection of standard headers
#include <stdint.h> #include <cstdlib> #include <cstdio> #include <cmath>
and namespace
using namespace std;
for certain backends.

Used in setupHeaders methods.
Example: serialParser::setupHeaders

OCCA kernel/include_occa inject header
include <occa.hpp>
and namespace
using namespace occa;
for certain backends.

For more in-depth check https://github.com/libocca/occa/tree/development/src/occa/internal/modes

@kchabSS kchabSS added the enhancement New feature or request label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant