I've created a modified worker that executes some work on a GPU:<div>/exm/apps/fake-gemtc/worker.tcl</div><div><br></div><div>But since I've replaced the eval $command with a GPU_eval $command I'm not sure how to return my result back into the swift script.</div>

<div><br></div><div>In my particular case I call:</div><div>int r = gemtc_sleep(1) from a .swift script. // where gemtc is the gpu call</div><div><br></div><div>The worker now has a local int variable with a result from the GPU run but I'm not sure how to pass this back to the variable r in my .swift script.</div>

<div><br></div><div>Any tips on how I might do this? Does this require modifying other files?</div><div><br></div><div>Thanks,</div><div>Scott</div><div><div><br></div>-- <br><font face="Times" size="3">Scott J. Krieder<br>

</font><div><div><font face="Times" size="3">C: 419-685-0410<br></font><div><font face="Times" size="3">E: <a href="mailto:skrieder@iit.edu" target="_blank">skrieder@iit.edu</a><br></font><div><font face="Times" size="3"><a href="http://datasys.cs.iit.edu/~skrieder/" target="_blank">http://datasys.cs.iit.edu/~skrieder/</a></font></div>

</div></div></div>
</div>