from the SDK example, I know how to pass a float3 constant variable ‘eye’ to the program as ray_origin. And the example sets ray_direction by mapping lauch_index to the directions.
I hope I can pass two long arrays A and b to the program. Then
ray_origin = A[launch_index]
ray_direction = B[launch_index]
How can I do that?
Thanks!