Community Profile

photo

Joss Knight

MathWorks

Last seen: 28일 전 2013년부터 활동

Although I cannot be contacted directly, if you would like to ask me a question all you have to do is mention "GPU" somewhere in your MATLAB Answers question.

통계

  • Guiding Light
  • 36 Month Streak
  • Knowledgeable Level 5
  • Revival Level 2
  • First Answer

배지 보기

Content Feed

보기 기준

답변 있음
Parallel Computing in C when using Matlab Coder (parpool and gpuArray)
GPU Coder will generate CUDA code for you. It can even automatically vectorize |for| loops. For a multithreaded parallel for loo...

2개월 전 | 1

답변 있음
Can parfor run a series of GPU programs simultaneously?
It looks like you just have a bug in your CUDAKernel implementation, probably accessing unallocated memory. This is putting the ...

3개월 전 | 0

답변 있음
error of GPU, net = trainNetwork(datastore, lgraph, options);
You are using your display GPU for computation and it does not have enough capacity. Try disabling all hardware acceleration for...

3개월 전 | 1

| 수락됨

답변 있음
How to train a sequence to classification network on GPU
This performance discrepancy is normal. Small sequence networks often cannot benefit from GPU parallelism, especially if they us...

3개월 전 | 0

답변 있음
gpuArray large sparse arrays. Error codes: "CUSPARSE_INTERNAL_ERROR" / "UNKNOWN_ERROR"
Hi Joseph. It's hard to be definitive. There were some problems with cusparse and also Windows drivers when supporting the newes...

3개월 전 | 0

답변 있음
NVIDIA A2 performance in Matlab R2023b is lousy
The A2's spec says its double precision performance is 140 GFLOPS vs the V100's 7 TFLOPS, so this is pretty much expected. Even ...

5개월 전 | 3

| 수락됨

답변 있음
Is there a utility like nvidia-smi within matlab to determine which gpus are in current use?
gpuDeviceTable is the utility for listing your devices and their properties. You can also see all your devices in the Parallel m...

5개월 전 | 0

답변 있음
Optimizing distance calculation between vectors and pixels
I feel like I haven't fully understood what you're after here, but |pdist2| is the function you're supposed to use to compute di...

6개월 전 | 0

답변 있음
The value of 'ValidationData' is invalid. Duplicate table variable name: 'input'. error during neural network training
augmentedImageDatastore returns a table so cannot be trivially combined. You should first transform it to convert it into a cell...

6개월 전 | 0

| 수락됨

답변 있음
How to apply a 2D matrix input to a trainNetwork?
Consult the documentation here. Typically sequence data is passed in as a cell array. In each cell you would be passing one seq...

6개월 전 | 0

답변 있음
I would like to train a smallish network using cpu cores in parallel rather than gpu as they are slower.
setenv CUDA_VISIBLE_DEVICES -1 when you first start MATLAB, assuming you are running everything locally. However, as a general...

6개월 전 | 0

답변 있음
Faster three dimensional higher order interpolation?
Thanks for the request, it will help us prioritise future work. In the meantime, it is possible to write your own interpolation ...

7개월 전 | 0

답변 있음
How to solve "Unexpected error calling cuDNN: CUDNN_STATUS_EXECUTION_FAILED." error?
The Ada GPU architecture is not supported in R2018b. You need to upgrade MATLAB. You should have received a warning about this w...

7개월 전 | 0

| 수락됨

답변 있음
Will self-written exe application run on GPU on other PC?
Yes, if your other PC has a supported GPU your application will run on it. Isn't MATLAB great?!

8개월 전 | 0

| 수락됨

답변 있음
Error at linking stage using mexcuda
Relocatable device code needs to be linked by nvcc using -dlink before it can be linked to host code using the C linker, so you'...

8개월 전 | 0

| 수락됨

답변 있음
OCR returns slightly different results on different machines
This is expected for any highly optimized code like this. Even for two Intel machines, the core count will affect how operations...

8개월 전 | 1

답변 있음
Will the MATLAB Answers community diminish/obsolete with the rise of AI-based chatbots?
You look like you are asking a question about how AI-assisted automation will change MATLAB Answers in the coming years and pote...

9개월 전 | 3

답변 있음
The matlab mexw64 file generated by mexcuda cannot be executed in the standalone app generated by matlab('parallel.gpu.GPUDeviceManager.selected' cannot be detected))
MATLAB Compiler's dependency analyzer cannot detect your dependency on PCT. Either add the product manually or call something ex...

9개월 전 | 0

답변 있음
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
If you click on the line number in the editor next to where you create your function layer, you can put a breakpoint at the entr...

9개월 전 | 0

| 수락됨

답변 있음
Using a "CUDAKernel" type object within a parfor loop
A CUDAKernel object cannot be serialized, as you've found, so you will need to construct it separately on each worker. However, ...

9개월 전 | 2

| 수락됨

답변 있음
Performance drop on mobile RTX4080
The 4080 is a good 10x slower than the V100 in double precision so this doesn't surprise me - it is designed for workstation gra...

9개월 전 | 0

답변 있음
Using experiment manager on single GPU
It does depend on the balance of CPU and GPU work in your experiment, but as a general rule parallel execution will gain you not...

9개월 전 | 0

답변 있음
Memory issue with texture in mexCUDA compiled code
It looks like the syntax for your function |mxArrayToTexture_3D_float4| is incorrect. You are passing the pointer |cuArray| by v...

10개월 전 | 0

답변 있음
host compiler failed but others all passed with 'coder.checkGpuInstall('full')'
MSVC 2022 was not supported by the NVIDIA CUDA compiler in R2022b. You either need to install MSVC 2019 (or 2017) or upgrade MAT...

10개월 전 | 0

답변 있음
cannot set gpu option in MBPO for catpole example
I do not see any |UseDevice| property in the <https://uk.mathworks.com/help/reinforcement-learning/ref/rl.option.rloptimizeropti...

10개월 전 | 1

답변 있음
How to perform Eigenvalue Decomposition e.g, eig() on multiple GPUs?
eigendecomposition is a highly serial algorithm so that's why simple multi-process solutions aren't easy to find and why the GPU...

11개월 전 | 0

답변 있음
Problem: Image segmentation of forest area using CNN and MATLAB's BLOCKPROC function.
In the documentation for semanticseg it says that the output is a categorical array. Converting to uint8 would normally work, b...

11개월 전 | 0

답변 있음
Summing array elements seems to be slow on GPU
These are my results that I got on my (somewhat old) GeForce GTX 1080 Ti: CPU time: 16.1288 GPU time: 0.96266 If I change the...

11개월 전 | 0

| 수락됨

답변 있음
Summing array elements seems to be slow on GPU
Why are you recomputing H and HU inside the loop? They do not change. If you remove the sum, because the results are never used ...

11개월 전 | 1

답변 있음
Examples of GPU do not work
This isn't a demo it's a blog from 11 years ago, and unfortunately it's using syntax that was removed from MATLAB 9 years ago. I...

11개월 전 | 1

더 보기