Skip to content

Commit

Permalink
gpu properties files (#4241)
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Nov 4, 2022
1 parent 197a146 commit 960e85a
Show file tree
Hide file tree
Showing 16 changed files with 392 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -80,6 +80,10 @@ run: prereqs ## Runs the site like it runs in production
dev: prereqs ## Runs the site as a developer; including live reload support and installation of git hooks
./node_modules/.bin/supervisor -w app.js,lib,etc/config,static/tsconfig.json -e 'js|ts|node|properties|yaml' -n exit --exec $(NODE) $(NODE_ARGS) -- -r esm -r ts-node/register ./app.js $(EXTRA_ARGS)

.PHONY: gpu-dev
gpu-dev: prereqs ## Runs the site as a developer; including live reload support and installation of git hooks
./node_modules/.bin/supervisor -w app.js,lib,etc/config,static/tsconfig.json -e 'js|ts|node|properties|yaml' -n exit --exec $(NODE) $(NODE_ARGS) -- -r esm -r ts-node/register ./app.js --env gpu $(EXTRA_ARGS)

.PHONY: debug
debug: prereqs ## Runs the site as a developer with full debugging; including live reload support and installation of git hooks
./node_modules/.bin/supervisor -w app.js,lib,etc/config,static/tsconfig.json -e 'js|ts|node|properties|yaml' -n exit --inspect 9229 --exec $(NODE) $(NODE_ARGS) -- -r esm -r ts-node/register ./app.js --debug $(EXTRA_ARGS)
1 change: 1 addition & 0 deletions etc/config/assembly.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/c++.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/c.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/carbon.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/circle.gpu.properties
@@ -0,0 +1 @@
compilers=
64 changes: 64 additions & 0 deletions etc/config/compiler-explorer.gpu.properties
@@ -0,0 +1,64 @@
# Settings overridden for Amazon EC2 instances that power http://*.godbolt.org/
googleApiKey=AIzaSyAaz35KJv8DA0ABoime0fEIh32NmbyYbcQ
cookieDomainRe=godbolt\.org|compiler-explorer\.com|godbo\.lt
cookiePolicyEnabled=true
privacyPolicyEnabled=true
compileTimeoutMs=20000
max-asm-size=67108864
maxConcurrentCompiles=2
staticMaxAgeSecs=30
# Anything under /cache/ will expire
cacheConfig=InMemory(25);S3(storage.godbolt.org,cache,us-east-1)
executableCacheConfig=S3(storage.godbolt.org,cache,us-east-1)
# Anything outside will not expire
compilerCacheConfig=S3(storage.godbolt.org,compiler-info-cache,us-east-1)
clientGoogleAnalyticsEnabled=true
# Do not get too stuck on failed proxies or the instances might not be able to wake up
proxyRetries=10
proxyRetryMs=500
rescanCompilerSecs=3600
sentryDsn=https://8e4614f649ad4e3faf3e7e8827b935f9@sentry.io/102028
motdUrl=/motd/motd-prod.json
pageloadUrl=https://lambda.compiler-explorer.com/pageload
storageSolution=s3
healthCheckFilePath=/efs/.health
showSponsors=true
logCompilerCacheAccesses=true

eventLoopMeasureIntervalMs=50
eventLoopLagThresholdWarn=100
eventLoopLagThresholdErr=1000

staticUrl=https://static.ce-cdn.net/
sentryEnvironment=prod
sentrySlowRequestMs=30000

alwaysResetLdPath=true
plogConverter=/opt/compiler-explorer/pvs-studio-latest/bin/plog-converter

cmake=/opt/compiler-explorer/cmake/bin/cmake
make=/usr/bin/make
ld=/usr/bin/ld
readelf=/usr/bin/readelf

formatters=clangformat:rustfmt:gofmt:dartformat
formatter.clangformat.name=clang-format
formatter.clangformat.exe=/opt/compiler-explorer/clang-trunk/bin/clang-format
formatter.clangformat.styles=Google:LLVM:Mozilla:Chromium:WebKit:Microsoft:GNU
formatter.clangformat.type=clangformat
formatter.rustfmt.name=rustfmt
formatter.rustfmt.exe=/opt/compiler-explorer/rustfmt-1.4.36/rustfmt
formatter.rustfmt.styles=
formatter.rustfmt.type=rustfmt
formatter.gofmt.name=gofmt
formatter.gofmt.exe=/opt/compiler-explorer/golang-1.17/go/bin/gofmt
formatter.gofmt.styles=
formatter.gofmt.type=gofmt
formatter.gofmt.explicitVersion=gofmt 1.17
formatter.dartformat.name=dartformat
formatter.dartformat.exe=/opt/compiler-explorer/dart-2.16.1/bin/dart
formatter.dartformat.styles=
formatter.dartformat.type=dartformat

thirdPartyIntegrationEnabled=true
statusTrackingEnabled=true
1 change: 1 addition & 0 deletions etc/config/cpp2_cppfront.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/cpp_for_opencl.gpu.properties
@@ -0,0 +1 @@
compilers=
311 changes: 311 additions & 0 deletions etc/config/cuda.gpu.properties

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions etc/config/hlsl.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/hook.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/llvm.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/ocaml.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/openclc.gpu.properties
@@ -0,0 +1 @@
compilers=
1 change: 1 addition & 0 deletions etc/config/python.gpu.properties
@@ -0,0 +1 @@
compilers=

0 comments on commit 960e85a

Please sign in to comment.