<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to tickets</title><link>https://sourceforge.net/p/octave-ocl/tickets/</link><description>Recent changes to tickets</description><atom:link href="https://sourceforge.net/p/octave-ocl/tickets/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 02 Dec 2021 20:07:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/octave-ocl/tickets/feed.rss" rel="self" type="application/rss+xml"/><item><title>#7 Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/?limit=25#1389</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias W. Klein</dc:creator><pubDate>Thu, 02 Dec 2021 20:07:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7c6824d8eaa830f8fd33da79414f0b9dee554ccb</guid></item><item><title>#7 Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/?limit=25#18b0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I implemented logical indexing with scalar assignment in OCL with commit &lt;a class="" href="https://sourceforge.net/p/octave-ocl/code/ci/94451522bd25dd35f02ffab3e3f63d6b9b5d7eba/"&gt;944515&lt;/a&gt;. This also makes degree-based trigonometric functions and the like usable with OCL matrices. This feature becomes available with the next OCL release (supposedly 1.2.0).&lt;/p&gt;
&lt;p&gt;Closing this ticket. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias W. Klein</dc:creator><pubDate>Thu, 02 Dec 2021 20:05:56 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net29de69429ddf3cab202c9b6e38f296dc38be1593</guid></item><item><title>#7 Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/?limit=25#eb6f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am sorry if my earlier comment was somewhat misleading.&lt;/p&gt;
&lt;p&gt;What I meant in particular is that the degree-based trigonometric functions, along with many other trigonometric and hyperbolic functions, are defined in octave already and do not need to be redefined. More specifically, these ~25 functions are provided in octave as individual m-files (usually in a directory "octave-root/share/octave/x.x.x/m/elfun/"), and not in any octave C++ code.&lt;/p&gt;
&lt;p&gt;What is lacking in OCL to make these octave m-files work with OCL matrix data is actually something completely different: logical indexing, at least with scalar assignment! This is what would be needed for cosd, sind, tand, and all derived functions to run, since they set explicit return values for specific argument values.&lt;/p&gt;
&lt;p&gt;This ticket is thus equivalent to this thread in the project's discussion: &lt;a href="https://sourceforge.net/p/octave-ocl/discussion/general/thread/0095d530d2/"&gt;https://sourceforge.net/p/octave-ocl/discussion/general/thread/0095d530d2/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias W. Klein</dc:creator><pubDate>Wed, 01 Dec 2021 20:50:59 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0df9d95a2098766a355109f77c060e00c8f676b9</guid></item><item><title>#7 Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/?limit=25#17d7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried to add the support. The code is just for Matt's reference. I used function like cospi sinpi to avoid the radius to degree conversion involving PI for single and double float. If there is some other technical reasons. Matt, please do let me know.  From Jinchuan&lt;br/&gt;
&lt;a href="https://sourceforge.net/u/tangjinchuan/octave-ocl-gzu/ci/d2f802e47c84fe3385c9f8b63ed9f072fd6d0353/"&gt;https://sourceforge.net/u/tangjinchuan/octave-ocl-gzu/ci/d2f802e47c84fe3385c9f8b63ed9f072fd6d0353/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tang Jinchuan</dc:creator><pubDate>Sun, 22 Aug 2021 15:44:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7b0b82fba02d288545f8a4c12b0cedba48886bb0</guid></item><item><title>#7 Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/?limit=25#6f6f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The degree-based trigonometric funtions are defined in octave, but not in OpenCL C. Generally, the ocl package is aimed at functions defined in both languages, at least to a certain extent. Internal to octave, there is also no mechanism to link the two languages in an analogous way as the radian-based ("mapping") functions.&lt;/p&gt;
&lt;p&gt;So, yes, there are (also) technical reasons for this, so please don't build your hopes up.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias W. Klein</dc:creator><pubDate>Sun, 05 Jan 2020 20:37:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net80d7dfa62d25928e4cf3ea362876ff9abb909391</guid></item><item><title>Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thanks for all the work on supporting opencl in octave - I really appreciate it.&lt;/p&gt;
&lt;p&gt;Trying to implement some gpu computing in my project I can accross the fact that the trigonometric funtions using degrees are not implemented (sind, cosd, tand).&lt;/p&gt;
&lt;p&gt;Is there a technical reason for this, or could this be added?&lt;/p&gt;
&lt;p&gt;Thanks a lot!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i s</dc:creator><pubDate>Wed, 18 Dec 2019 10:06:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net91e1802ce69343adeb7c41a2e3166c45a2ebdd80</guid></item><item><title>Trigonometry functions in degrees not linked</title><link>https://sourceforge.net/p/octave-ocl/tickets/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 7 has been modified: Trigonometry functions in degrees not linked&lt;br/&gt;
Edited By: Matthias W. Klein (mattwklein)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i s</dc:creator><pubDate>Wed, 18 Dec 2019 10:06:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8f2849ed2adaf826bb754b34e8bf8267de2b7fd6</guid></item><item><title>#6 segtaults using octArray</title><link>https://sourceforge.net/p/octave-ocl/tickets/6/?limit=25#0e83</link><description>&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; &amp;gt;&amp;gt;&amp;gt; ocl_tests 
Testing ocl_constant function...
Testing ocl_lib function...
Testing ocl_context function...
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Colin Macdonald</dc:creator><pubDate>Wed, 21 Aug 2019 18:30:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netca58ca817c30afeab4d6750b539654074eabf789</guid></item><item><title>segtaults using octArray</title><link>https://sourceforge.net/p/octave-ocl/tickets/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried ocl-1.0.0 again.  Thanks for fixing the various things I pointed out earlier.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ocl_lib("assure")&lt;/code&gt; runs without error.&lt;/p&gt;
&lt;p&gt;But I get segfaults.  Here's a backtrace for &lt;code&gt;octArray(6.5)&lt;/code&gt; on Octave 4.4.1.   I get  similar segfaults with Octave dev (couple months old maybe)..  Haven't tested with 5.1 yet.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;#0  0x00007fffd43de2a8 in clGetDeviceIDs ()
    at /home/cbm/.local/share/octpkgs/4.4.1/ocl-1.0.0/x86_64-redhat-linux-gnu-api-v52/ocl_bin.oct
#1  0x00007fffd44ee761 in  () at /lib64/libOpenCL.so.1
#2  0x00007fffd44ef544 in clGetPlatformIDs () at /lib64/libOpenCL.so.1
#3  0x00007fffd41ba5c0 in get_resources() () at ocl_context.cc:299
#4  0x00007fffd41c27d5 in select_device() () at ocl_context.cc:64
#5  0x00007fffd41c3855 in assure_opencl_context () at ocl_context.cc:569
#6  0x00007fffd41c3855 in assure_opencl_context() () at ocl_context.cc:564
#7  0x00007fffd41c5ead in OclContextObject::OclContextObject(bool) (this=0x7fffb85dc420, need_context=&amp;lt;optimized out&amp;gt;)
    at ocl_context_obj.cc:28
#8  0x00007fffd424405d in OclArray&amp;lt;double&amp;gt;::OclArrayRep::OclArrayRep(double const*, int)
    (l=1, d=0x7fffb8172d40, this=0x7fffb85dc420) at ocl_array.h:107
#9  0x00007fffd424405d in OclArray&amp;lt;double&amp;gt;::OclArray(Array&amp;lt;double&amp;gt; const&amp;amp;) (a=..., this=0x7fffbffedcc0)
    at ocl_array.h:256
#10 0x00007fffd424405d in Focl_double(octave_value_list const&amp;amp;, int) (args=..., nargout=&amp;lt;optimized out&amp;gt;)
    at ocl_ov_matrix.cc:850
#11 0x00007ffff71833c9 in octave_builtin::call(octave::tree_evaluator&amp;amp;, int, octave_value_list const&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#12 0x00007ffff7377b4e in octave::tree_evaluator::visit_index_expression(octave::tree_index_expression&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#13 0x00007ffff71d3ef3 in octave::tree_evaluator::evaluate(octave::tree_expression*, int) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#14 0x00007ffff7375fd9 in octave::tree_evaluator::visit_simple_assignment(octave::tree_simple_assignment&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#15 0x00007ffff71d3ef3 in octave::tree_evaluator::evaluate(octave::tree_expression*, int) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#16 0x00007ffff7374630 in octave::tree_evaluator::visit_statement(octave::tree_statement&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#17 0x00007ffff736b579 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#18 0x00007ffff7375703 in octave::tree_evaluator::visit_switch_command(octave::tree_switch_command&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#19 0x00007ffff7374548 in octave::tree_evaluator::visit_statement(octave::tree_statement&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#20 0x00007ffff736b579 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#21 0x00007ffff72a0514 in octave_user_function::call(octave::tree_evaluator&amp;amp;, int, octave_value_list const&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#22 0x00007ffff7377b4e in octave::tree_evaluator::visit_index_expression(octave::tree_index_expression&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#23 0x00007ffff71d3ef3 in octave::tree_evaluator::evaluate(octave::tree_expression*, int) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
--Type &amp;lt;RET&amp;gt; for more, q to quit, c to continue without paging--
#24 0x00007ffff7374630 in octave::tree_evaluator::visit_statement(octave::tree_statement&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#25 0x00007ffff736b579 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&amp;amp;) ()
    at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#26 0x00007ffff76de0b6 in octave::interpreter::main_loop() () at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#27 0x00007ffff76e45f5 in octave::interpreter::execute() () at /usr/lib64/octave/4.4.1/liboctinterp.so.6
#28 0x00007ffff7da883f in octave::octave_interpreter::execute() () at /usr/lib64/octave/4.4.1/liboctgui.so.4
#29 0x00007ffff418abfa in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#30 0x00007ffff4b11af6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#31 0x00007ffff4b1ae80 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007ffff415fae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007ffff4162a93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
    at /lib64/libQt5Core.so.5
#34 0x00007ffff41b4e47 in  () at /lib64/libQt5Core.so.5
#35 0x00007fffef4f6edd in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#36 0x00007fffef4f7270 in  () at /lib64/libglib-2.0.so.0
#37 0x00007fffef4f7313 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#38 0x00007ffff41b4bd5 in QEventDispatcherGlib::processEvents(QFlags&amp;lt;QEventLoop::ProcessEventsFlag&amp;gt;) ()
    at /lib64/libQt5Core.so.5
#39 0x00007ffff415e9eb in QEventLoop::exec(QFlags&amp;lt;QEventLoop::ProcessEventsFlag&amp;gt;) () at /lib64/libQt5Core.so.5
#40 0x00007ffff3fb7635 in QThread::exec() () at /lib64/libQt5Core.so.5
#41 0x00007ffff3fb8786 in  () at /lib64/libQt5Core.so.5
#42 0x00007ffff38615a2 in start_thread () at /lib64/libpthread.so.0
#43 0x00007ffff5449303 in clone () at /lib64/libc.so.6
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Colin Macdonald</dc:creator><pubDate>Wed, 21 Aug 2019 18:26:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdd915df77f6f2e9b3e7098bbe038cf8dd1346583</guid></item><item><title>#5 please consider automatically detecting libOpenCL.so.1</title><link>https://sourceforge.net/p/octave-ocl/tickets/5/?limit=25#dd04</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias W. Klein</dc:creator><pubDate>Sun, 26 May 2019 13:55:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete26759a6a9e42ef0ed6910150ca78bfb2afc9988</guid></item></channel></rss>