mitsuba-renderer / enoki

Enoki: structured vectorization and differentiation on modern processor architectures
Other
1.26k stars 94 forks source link

IntC to int*? #66

Closed andyyankai closed 4 years ago

andyyankai commented 4 years ago

I asked a question before that IntC::copy can copy a int into IntC on gpu. Is there any method to copy a IntC into int?

andyyankai commented 4 years ago

forget to reply... I simply use IntC rua = 3; int* temp = rua.data()