Community Profile

photo

Moein Mozaffarzadeh


Last seen: 15 days ago Active since 2021

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


Linker error when using SLD2 with MEXCUDA
Hi, I want to use SDL in my CUDA code, but I'm having issues with compiling my code. To simplify, I'm just trying to initizliz...

20 days ago | 0 answers | 0

0

answers

Question


How to properly free memories after running a MEX file
Hi, I have written a MEX function in CUDA and C. When I run this MEX function in a loop, Matlab crashes after 200 iterations (...

22 days ago | 0 answers | 0

0

answers

Question


Why OpenMP does not work in a CUDA code compiled in Matlab (as a MEX)?
Hi, I'm trying to use OpenMP in my CUDA code, compile and use it in Matlab. However, it does not work. Here is a simple example:...

1 month ago | 1 answer | 0

1

answer

Question


Will OpenMP be faster than Matlab basic commands?
Hi, I've written a MEX-CUDA function which takes an 1D-array as input. The data that I want to use as the input is actutally a...

3 months ago | 0 answers | 0

0

answers

Question


Is there any other option except MEX to run a CUDA-written code in Matlab?
Hi, I have written a CUDA function and made a MEX gateway to use it in Matlab. While it works fine in a for loop when i do not...

3 months ago | 0 answers | 0

0

answers

Question


Why using cufft cause a fatal error LNK1120 in MEX cuda?
Hi, I'm trying to write a MEX gateway (in cuda) function to add two arrays in GPU. I would like to filter one of the signals (...

4 months ago | 1 answer | 0

1

answer

Question


How to run a MEX function asynchronous in Matlab?
Hi, I have developed a MEX function (in CUDA) which uses a GPU for processing the data transfered from a device (let's call is...

4 months ago | 0 answers | 0

0

answers

Question


How to convert complex float to complex integer in MEX gateway function?
Hi, I'm trying to write a MEX gateway function (in CUDA) to add two complex integer arrays given by Matlab. Currently, the fol...

4 months ago | 1 answer | 0

1

answer

Question


How to handle Complex input in MEX gateway function in CUDA?
Hi, I'm trying to write a MEX gateway function to add two complex vectors. I use thrust to do the processing. However, when i ...

4 months ago | 1 answer | 0

1

answer

Question


Why the output of my MEX Function become incorrect when used in a for loop in Matlab? Memory Management!!
Hi, I'm trying to write a MEXGateway code so i could pass some variables in Matlab to my MEXFunction and process in GPU. The p...

5 months ago | 0 answers | 0

0

answers

Question


cuda kernel does not work when a data is transfer to the GPU. any problem with my gateway MEX code?
Hi, I'm trying to transfer a data to a KUDA kernel, do some processings and have the output back to Matlab. I have already eva...

7 months ago | 2 answers | 0

2

answers