Skip to content

Commit a7f106c

Browse files
committed
fixed cfg on launch params
1 parent 371dbfb commit a7f106c

File tree

1 file changed

+1
-1
lines changed
  • examples/cuda/gpu/path_tracer_gpu/src

1 file changed

+1
-1
lines changed

examples/cuda/gpu/path_tracer_gpu/src/optix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use optix_device::{
2020
};
2121

2222
extern "C" {
23-
#[cfg(target_os = "cuda")]
23+
#[cfg_attr(target_os = "cuda", nvvm_internal::addrspace(4))]
2424
static PARAMS: LaunchParams<'static>;
2525
}
2626

0 commit comments

Comments
 (0)