#[kernel] fn add(a: *const f64, b: *const f64, c: *mut f64) { ... } でadd関数に加えて const ADD_PTX: &'static str = "{{ptx文字列}}"; を定義したい...
-
-
なるほどこれだと元の名前空間にユーザーが定義してない識別子を追加しないので良さそうですね
-
素直に適用できない場合があるかもしれないですが(生成されるitemがサブモジュールにあるとまずいなど)、基本的にはこの方式で追記していくのが一番素直だと(個人的には)思いますね
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.