File indexing completed on 2026-04-09 07:49:12
0001 #pragma once
0002
0003 #include <filesystem>
0004 #include <string>
0005 #include <vector>
0006
0007 #include "sysrap/srng.h"
0008 #include "sysrap/storch.h"
0009
0010 namespace gphox {
0011
0012
0013
0014
0015
0016 class Config
0017 {
0018 public:
0019
0020 Config(std::string config_name = "dev");
0021
0022 static std::string PtxPath(const std::string &ptx_name = "CSGOptiX7.ptx");
0023
0024
0025 std::string name;
0026
0027 storch torch;
0028
0029 private:
0030
0031 std::string Locate(std::string filename) const;
0032 void ReadConfig(std::string filepath);
0033 };
0034
0035 }