<div dir="ltr">In Swift 2.2, I could do the following:<div><div><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"><br class="gmail-Apple-interchange-newline">var</span><span style="color:rgb(51,51,51);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"> cublasHandle </span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">:</span><span style="color:rgb(51,51,51);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,134,179);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">COpaquePointer</span><span style="color:rgb(51,51,51);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">=</span><span style="color:rgb(51,51,51);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,134,179);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">nil</span><br></div><div><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,134,179);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93)">let</span><span style="color:rgb(51,51,51)"> status </span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93)">=</span><span style="color:rgb(51,51,51)"> cublasCreate_v2(</span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93)">&amp;</span><span style="color:rgb(51,51,51)">cublasHandle)</span></span></div></div><div><br></div><div>Where <span style="color:rgb(51,51,51);font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">cublasCreate_v2</span> is a C function that takes a pointer, and then initializes some memory at that address.</div><div><br></div><div>I haven&#39;t been able to figure out an equivalent in Swift 3. Any suggestions, especially to documentation, would be greatly appreciated.</div><div><br></div><div>Thanks,</div><div>Lane</div><div><br></div></div>