Re: [brlcad-devel] OpenCL Boolean Evaluation Status Report

2016-08-22 Thread Param Hanji
Here's the link I promised https://catchchaos.wordpress.com/2016/08/21/gsoc-wrap-up/ On Tue 23 Aug, 2016, 10:28 AM Param Hanji, <param.catchch...@gmail.com> wrote: > Hello, > > I'm attaching a link to my final blog post summarising my work during the > summer. This is the

Re: [brlcad-devel] OpenCL Boolean Evaluation Status Report

2016-08-22 Thread Param Hanji
Hello, I'm attaching a link to my final blog post summarising my work during the summer. This is the same link that I'm submitting as part of the final evaluation on the official GSoC website. Kindly let me know if any changes are required. Best, Param Hanji On Sat 13 Aug, 2016, 11:59 PM Param

[brlcad-devel] OpenCL Boolean Evaluation Status Report

2016-08-13 Thread Param Hanji
Hi, For GSoC this year I've worked to improve OpenCL support for BRL-CAD. I started off with accelerating a few of the primitives. This was basically writing kernel code for the shoot algorithms for various primitives. I had accelerated EPA just before GSoC began. This was followed up with ETO

Re: [brlcad-devel] OpenCL Runtime Debugging

2016-08-12 Thread Param Hanji
plete the boolean weaving on the kernel. It >> currently spits out garbage and I need to figure out why. Normally, I would >> pass an argument, which I would change in the kernel and then print out its >> value to see if certain parts of the code (an if condition block for >>

[brlcad-devel] OpenCL Runtime Debugging

2016-08-07 Thread Param Hanji
in the kernel and then print out its value to see if certain parts of the code (an if condition block for example) were processed. This doesn't seem to be working though. Thank you Param Hanji

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-07-19 Thread Param Hanji
PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Jul 14, 2016 at 3:07 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> >> >> Try -P1 if you want only 1 worker process/thread. >>> >>> Yup, this did it. Thank you

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-07-11 Thread Param Hanji
> Hmmm. There seem to be a couple of issues here: > > The boolean weaving code expects seg_in.hit_rayp and seg_out.hit_rayp to > be pointing to something. These values are mostly used for debug printfs in > bool.c with the exception of bool.c:bool_max_raynum. So I changed this to > point to a

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-07-04 Thread Param Hanji
On Mon, Jul 4, 2016 at 9:52 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Mon, Jul 4, 2016 at 12:30 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Hi Vasco, >> >> I tried everything and still no luck. I'm pretty

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-07-04 Thread Param Hanji
approach, I feel I should go ahead with GPU partition structure. Let me know what you feel. Thank you, Param On Mon, Jun 27, 2016 at 6:54 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Mon, Jun 27, 2016 at 11:33 AM, Param Hanji <param.catchch...@gmail.com> > w

[brlcad-devel] Week Long Vacation

2016-06-28 Thread Param Hanji
Hi, I will be out of town for a couple days on a vacation. I had mentioned this in my proposal as well, so I hope this alright. I'll resume work by Monday at the latest. Best, Param -- Attend Shape: An AT Tech Expo

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-27 Thread Param Hanji
> > Also the GPU side seg_sti doesn't have the same meaning at all. It's a > unique solid id. In the soltabs list. So '0' would be the first valid solid > in the soltabs list. So your code should work like this: > > unsigned int i=0; > RT_VISIT_ALL_SOLTABS_START(stp, a->a_rt_i) { > /*

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-23 Thread Param Hanji
On Wed, Jun 22, 2016 at 7:43 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Jun 22, 2016 at 2:36 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> - in copy_to_cpu if gpu_seg->seg_sti is zero the cpu_seg->seg_stp->st_id &

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-22 Thread Param Hanji
- in copy_to_cpu if gpu_seg->seg_sti is zero the cpu_seg->seg_stp->st_id > will be uninitialized. worse. you are writing to an uninitialized pointer. > what I think you want to do is lookup the seg_stp pointer based on the > seg_sti id and use that to initialize the cpu->seg_stp pointer field. >

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-16 Thread Param Hanji
if someone could figure out where I'm going wrong. Thanks. Param On Wed, Jun 8, 2016 at 4:32 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Jun 8, 2016 at 8:04 AM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Another thing I realiz

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-08 Thread Param Hanji
On Tue, Jun 7, 2016 at 8:41 PM Christopher Sean Morrison wrote: > > It's called automatically when you invoke through any of the rt* tools and > is manually in each saveview script as a simple "end;" directive. The > command table translates the "end" string into a call to

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-06 Thread Param Hanji
t; On Fri, May 27, 2016 at 2:33 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Thanks a lot! Any leads on how to use the partition list output by >> boolfinal()? I'll need to convert this back into an array of segs to be >> further processed. >>

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-05 Thread Param Hanji
On Sun, Jun 5, 2016 at 6:14 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Jun 2, 2016 at 10:36 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Thu, Jun 2, 2016 at 6:55 PM, Param Hanji <param.catchch...@gmail.

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-05-30 Thread Param Hanji
.co...@gmail.com> wrote: > I don't know the MacOS X environment much. But it might be the executable > can't find the path where the .dynlibs are installed. > > On Mon, May 30, 2016 at 3:56 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Hello all, >

[brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-05-30 Thread Param Hanji
Hello all, My laptop was overheating a little. and was also having some issues with driver support for the GPU. So, I decided to change it. However, I'm having some trouble getting BRL-CAD working. Compilation and installation using 'make' happen as expected. All the tests pass too. However when

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-05-27 Thread Param Hanji
Thanks a lot! Any leads on how to use the partition list output by boolfinal()? I'll need to convert this back into an array of segs to be further processed. Best, Param Hanji On Fri, May 27, 2016 at 5:39 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Fri, May

Re: [brlcad-devel] Understanding Data Structures

2016-05-24 Thread Param Hanji
output from clt_frame() into a suitable form to call the generic do_run() function, instead of the OpenCL specific clt_run(). I'll start working on this. Best, Param On Mon, May 9, 2016 at 8:00 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Mon, May 9, 2016 at 10:28

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-05-20 Thread Param Hanji
On Thu, May 19, 2016 at 8:28 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, May 19, 2016 at 1:52 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Hi, >> >> You could basically copy the segments list resul

Re: [brlcad-devel] librt OpenCL starting point

2016-05-13 Thread Param Hanji
rays (the per ray parallelization you mentioned). Is this correct? Best, Param On Fri, May 13, 2016 at 5:13 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, May 12, 2016 at 11:22 AM, Param Hanji <param.catchch...@gmail.com> > wrote: >

Re: [brlcad-devel] Understanding Data Structures

2016-05-09 Thread Param Hanji
> See page 19 in this presentation to understand how the line segments are > generated: > http://web.iitd.ac.in/~hegde/cad/lecture/L30_solidmod_basics.pdf > > In fact you would be well advised to read the entire presentation. > > I did go through the presentation. However it contains only 18 pages

[brlcad-devel] Understanding Data Structures

2016-05-08 Thread Param Hanji
structures. Links to an article or a book would be nice. Thank you for your time. Best, Param Hanji -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep

Re: [brlcad-devel] GSOC Propsal Review

2016-03-24 Thread Param Hanji
that the mentors have a lot of proposals to review and have their hands full, but at the same time am a little apprehensive. Thanks a lot for your time! Best, Param On Mon 21 Mar, 2016, 7:24 PM Param Hanji, <param.catchch...@gmail.com> wrote: > Hello, > > I made my proposal more

Re: [brlcad-devel] Help understanding code

2016-03-22 Thread Param Hanji
Hi Currently the blank screen issue happens only with EPA. The others work fine. On Tue 22 Mar, 2016, 9:28 AM Vasco Alexandre da Silva Costa, < vasco.co...@gmail.com> wrote: > On Tue, Mar 22, 2016 at 3:17 AM, Param Hanji <param.catchch...@gmail.com> > wrote: > >

Re: [brlcad-devel] Help understanding code

2016-03-21 Thread Param Hanji
I updated my svn repo to revision 67420. However, rt.cl wasn't changed and I still can't get a preview. Also, here's the patch. On Tue, Mar 22, 2016 at 1:27 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Mon, Mar 21, 2016 at 4:58 AM, Christopher Sean Morrison

Re: [brlcad-devel] GSOC Propsal Review

2016-03-20 Thread Param Hanji
Hi, Thank you so much! I'll work on a slightly more detailed one. In the meanwhile if anyone has any other comments kindly let me know. Best, Param On Mon 21 Mar, 2016, 1:26 AM Vasco Alexandre da Silva Costa, < vasco.co...@gmail.com> wrote: > On Sun, Mar 20, 2016 at 5:12 AM, Pa

[brlcad-devel] GSOC Propsal Review

2016-03-19 Thread Param Hanji
Hello all, Here's a link to the first draft of my GSOC propsal. Kindly have a look at it and let me know what you think. :) https://docs.google.com/document/d/1kyVGZAqAKm-scHCUFBQrB2nyrG20xRTOINSMAQtPC6I/edit?usp=sharing Thank You Param Hanji

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
d_pack’: > .../brlcad/trunk/src/librt/primitives/primitive_util.c:648:25: error: > implicit declaration of function ‘clt_epa_pack’ > [-Werror=implicit-function-declaration] > case ID_EPA:size = clt_epa_pack(pool, stp); break; > ^ > > >

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Hello, On Thu, Mar 17, 2016 at 4:57 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > > You will need a lot of time to port bool.c so you need to schedule > appro

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
lva Costa < > vasco.co...@gmail.com> wrote: > >> On Fri, Mar 18, 2016 at 1:17 PM, Param Hanji <param.catchch...@gmail.com> >> wrote: >> >>> Hello, >>> >>> On Thu, Mar 17, 2016 at 4:57 AM Vasco Alexandre da Silva Costa < >>>

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
17, 2016 at 7:54 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Thu, Mar 17, 2016 at 7:47 PM, Christopher Sean Morrison < >> brl...@mac.com> wrote: >> >>> >>> >>> On Mar 17, 2016, at 05:33 AM, Param Hanji

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Wed, Mar 16, 2016 at 9:12 PM, Param Hanji <param.catchch...@gmail.com> >> wrote: >> >>> Yes, there was an error message on the terminal. Manually copying >>> everythin

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
On Fri, Mar 18, 2016 at 6:47 PM Param Hanji <param.catchch...@gmail.com> wrote: > > I'll start looking into the code as soon as i can. Is there any resource I > can refer to get a brief high level understanding of how ray tracing > occurs. I have no knowledge of computer

Re: [brlcad-devel] Help understanding code

2016-03-18 Thread Param Hanji
wrote: > On Wed, Mar 16, 2016 at 7:36 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Wed, Mar 16, 2016 at 7:28 PM, Param Hanji <param.catchch...@gmail.com> >> wrote: >> >>> Hi, >>> >>> Installing the AM

Re: [brlcad-devel] Help understanding code

2016-03-15 Thread Param Hanji
: > >> On Tue, Mar 15, 2016 at 11:52 AM, Param Hanji <param.catchch...@gmail.com >> > wrote: >> >>> Further reading hinted at the lack of OpenCL 1.2 on Nvidia graphics >>> cards. The clinfo package for Ubuntu doesn't recognize my GPU fo

Re: [brlcad-devel] Help understanding code

2016-03-14 Thread Param Hanji
Hi everyone, Sorry for the brief period of absence. I did a fresh build and got the GUI working. A build with .cl file for accelerating epa also completes successfully. I've generated the .patch file as well. However, parallel ray trace fails on every primitive(including ell, ehy, sph etc). I

Re: [brlcad-devel] google summer of code : Geometry Conversion Library

2016-03-08 Thread Param Hanji
Hi Margaret, > I have successfully checkout the SVN source and built in my Ubuntu 14.04 > > The make command gives > BRL-CAD Release 7.25.0, Build 20160308 > > The make test command gives > The following tests FAILED: >1 - NOTE: some 'test' tests are expected to fail, 'regress' must pass >

Re: [brlcad-devel] Help understanding code

2016-03-08 Thread Param Hanji
ach either a text file or a null. But that's not an issue as I'm fine working with the command line. Just want to know how I can view the trace. Best, Param Hanji On Tue, Mar 8, 2016 at 1:08 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > PS: I originally suggested

Re: [brlcad-devel] Help understanding code

2016-03-08 Thread Param Hanji
PS: I can't seem to get 'brlterm' to run as well(don't know how to). For now I'm launching 'mged' directly from /usr/brlcad/dev-7.25.0/bin/mged. Cheers, Param Hanji On Tue, Mar 8, 2016 at 8:01 AM Param Hanji <param.catchch...@gmail.com> wrote: > Um running 'rt' gives me a message &

Re: [brlcad-devel] Help understanding code

2016-03-08 Thread Param Hanji
raytrace command from the mged menus. > > On Tue, Mar 8, 2016 at 2:31 AM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Um running 'rt' gives me a message "view does not exist". The same >> message is displayed if I try any other primitive(like

[brlcad-devel] Help understanding code

2016-03-05 Thread Param Hanji
like clCreateContext(), clGetPlatformIDs(), clGetDeviceIDs(), etc. So I just don't know where to start. Any kind of help would be great. Maybe someome could point to some resources that I could go through. Thank you for your time

[brlcad-devel] (no subject)

2016-03-05 Thread Param Hanji
like clCreateContext(), clGetPlatformIDs(), clGetDeviceIDs(), etc. So I just don't know where to start. Any kind of help would be great. Maybe someome could point to some resources that I could go through. Thank you for your time

Re: [brlcad-devel] (no subject)

2016-03-03 Thread Param Hanji
Can I have a link to the existing code please? On Fri, Mar 4, 2016 at 12:02 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Mar 3, 2016 at 6:23 PM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Hello, >> >> I'm an underg

[brlcad-devel] (no subject)

2016-03-03 Thread Param Hanji
me about this or other projects that I could work on? Thank you in advance! Cheers, Param Hanji -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances