File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -400,8 +400,8 @@ std::unique_ptr<jitify2::LinkedProgramData> JitifyCache::buildProgram(
400400 if (nvrtcArchitectures.size ()) {
401401 int currentDeviceIdx = 0 ;
402402 if (FLAMEGPU_GPU_RUNTIME_SYMBOL (Success) == cudaGetDevice (¤tDeviceIdx)) {
403- int arch = compute_capability::getComputeCapability (currentDeviceIdx);
404- int maxSupportedArch = compute_capability::selectAppropraiteComputeCapability (arch, nvrtcArchitectures);
403+ int arch = detail::gpu::cuda:: compute_capability::getComputeCapability (currentDeviceIdx);
404+ int maxSupportedArch = detail::gpu::cuda:: compute_capability::selectAppropraiteComputeCapability (arch, nvrtcArchitectures);
405405 // only set a nvrtc compilation flag if a usable value was found
406406 if (maxSupportedArch != 0 ) {
407407 options.push_back (std::string (" --gpu-architecture=compute_" + std::to_string (maxSupportedArch)));
@@ -492,7 +492,7 @@ std::unique_ptr<jitify2::KernelData> JitifyCache::loadKernel(const std::string &
492492 // Detect current compute capability=
493493 int currentDeviceIdx = 0 ;
494494 cudaError_t status = cudaGetDevice (¤tDeviceIdx);
495- const std::string arch = std::to_string ((status == FLAMEGPU_GPU_RUNTIME_SYMBOL (Success)) ? compute_capability::getComputeCapability (currentDeviceIdx) : 0 );
495+ const std::string arch = std::to_string ((status == FLAMEGPU_GPU_RUNTIME_SYMBOL (Success)) ? detail::gpu::cuda:: compute_capability::getComputeCapability (currentDeviceIdx) : 0 );
496496 status = cudaRuntimeGetVersion (¤tDeviceIdx);
497497 const std::string cuda_version = std::to_string ((status == FLAMEGPU_GPU_RUNTIME_SYMBOL (Success)) ? currentDeviceIdx : 0 );
498498 const std::string seatbelts = std::to_string (FLAMEGPU_SEATBELTS);
You can’t perform that action at this time.
0 commit comments