1,510 questions
0
votes
0
answers
63
views
How to Use OpenCL in Exynos2400 in termux?
I want to compile and run openCL programs to do some parallel computing on my mobile device s24fe(Exynos2400e) I tried to compile clinfo but it always returns 0 in no of devices
I tried various ...
0
votes
0
answers
53
views
loss become nan in gpu
I have an environment with TensorFlow 2.17 and ROCm (AMD GPU). I am having an issue where the loss becomes NaN always after batch 120 and then resumes calculations in the next epoch up to batch 120. I ...
1
vote
0
answers
112
views
Radeon Developer Panel does not detect application
Very similar to this issue.
I want to test the AMD profiling "Radeon Developer Panel" tool (v3.2.0.18) using the Vulkan vkcube test application. The connection is established (green light), ...
0
votes
0
answers
102
views
KeyDB Takes Long time to Start
I am using Keydb for caching with data persistence (RDB persistence with allkeys-lfu eviction policy and maxmemory as 10GB with flash storage driver).
I have restarted the keydb about 30 minutes ago ...
2
votes
0
answers
109
views
Poor perf from aocc+amd-fftw in linux with AMD Genoa CPU (compared to built with Intel icpx+mkl)
I have a very simple 3D in-place FFT transform code with FFTW and openmp multi-thread support. I tried to get the best performance in a linux machine (Ubuntu with AMD Genoa CPUs -2 sockets). I built ...
1
vote
0
answers
2k
views
RuntimeError: No HIP GPUs are available
I am simply trying to run a simple code in PyTorch and I have tried installing/uninstalling the right package multiple times.
System: Ubuntu 22.04 | GPU: Radeon 5450 | Environment: Anaconda-2023.09 | ...
0
votes
0
answers
108
views
Enormous number of amdxx64.dll threads
I'm sure I provoke it somehow, but may be somebody knows what causes it and how to deal with it. The only practical problem I have now is that I cannot find my own threads because the number of these ...
1
vote
1
answer
254
views
AMD HIP doesn't work on AMD GPU | Kernel hip function can't set values of variables (hip kernel doesn't work)
I have a problem with calling a global kernel function. It doesn't seem to work for me.
I downloaded hip 6.1 and created AMD HIP 6.1 Runtime (Matrix Transpose sample project). I have checked ...
0
votes
0
answers
745
views
How do I use ZLUDA with Coqui TTS on an AMD GPU?
I've been searching for this problem for a long time now. Btw, I'm using an RX570 4gb Sapphire Pulse GPU and there are some guides on how to install zluda with SDNext but I believe that does not apply ...
0
votes
1
answer
199
views
How to achieve fortran numerical results reproducibility across different platforms (Intel vs AMD)?
I do computing with one fortran program and I have two machines:
one with an Intel Xeon E5-2670 (Linux Mint 21.2 x86_64, Kernel: 5.15.0-86-generic)
and the other with an AMD 7700X (Linux Mint 21.3 ...
2
votes
1
answer
776
views
Building Python Packages from Source for AMD GPU - hipcc failed with exit code 127 --rocm-path not found
I am trying to install Python packages, like lietorch or pytorch-scatter with AMD support.
I download the repository,
git clone --recursive https://github.com/repo
If I just try to install the ...
1
vote
1
answer
8k
views
Installing Pytorch for Windows 11 and AMD GPU
could someone help me out with my Pytorch installation? My device currently uses Windows OS and an AMD GPU. However, the Pytorch installation does not support Windows OS with ROCm combination. Only ...
0
votes
0
answers
133
views
Having issue with CPU boosting on AMD
Background. I am the author of an application that emulates a Tandy Color Computer (Motorola 6809). This app has been stable for five years.
Lately I have noticed some strange CPU boosting issues ...
1
vote
1
answer
222
views
GPGPU with Radeon Pro VII in Windows [closed]
I start with the question, in case somebody can say something without going through the whole post:
What is the easiest way to start programming with a Radeon Pro VII in C++ in Windows?
And for anyone ...
0
votes
1
answer
3k
views
AMD Software Host Application Pop-Up on startup
Whenever I start my PC AMD software host application pop-up appears.I have disabled it in the startup apps in task manager still it pop ups everytime I start my PC . Everytime I have to manually close ...
0
votes
0
answers
395
views
How to compile clang llvm to amd gcn on linux ubuntu
I've been trying for about two days to compile clang-llvm for amd gcn and I'm stuck.
My goal here is to be able to compile a hip program using the triple amdgcn-amd-amdhsa.
I cloned the project (llvm ...
2
votes
1
answer
132
views
How to open lod clamp specified in shader in glsl?
amd instruction set spec said:
IMAGE_SAMPLE_D_CL_O SAMPLE_O, with LOD clamp specified in shader, with user derivatives.
IMAGE_SAMPLE_D_CL sample texture map, with LOD clamp specified in shader, with ...
1
vote
0
answers
849
views
Deepspeed not offloading to CPU
Deepspeed fails to offload operations to the CPU, like I thought it should do when it runs out of GPU memory. I guess I have some setting wrong. When the batch size is increased it gives an error like
...
0
votes
0
answers
163
views
How to use Asynchronous Module Definitions(AMD) in SS2.1?
I'm trying to import SheetJS Library to SuiteScript and read "xlsx" file data. I follow the SheetJS tutorial step, like this:https://docs.sheetjs.com/docs/demos/cloud/netsuite/
After upload ...
0
votes
2
answers
60
views
Unable to use property of youtube player after importing into another module
I created a class of youtube api because I need it in multiple files but when I trying to access the getPlayerState() then its giving me error of that it is not a function but when I console.log
I see ...
2
votes
0
answers
184
views
L3 cache miss when iterating over small amount data
I'm optimizing a critical part of my program. the algorithm basicly iterating part of rows of a matrix(M) and apply H += alpha * M[x]
the matrix(M) is 8MB in size and i'm only iterating first quarter ...
16
votes
1
answer
24k
views
What is the Universal Module Definition (UMD)?
I've found the(?) github repository for UMD and it comes with this description (emphasis mine):
UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
...
This ...
4
votes
1
answer
3k
views
How to include Javascript AMD modules in a Vite project
In my project using the Vite bundler, I have the two legacy AMD libraries azure-devops-extension-api and azure-devops-extension-sdk, but Vite only supports ESM modules. The means that if I in a ...
0
votes
1
answer
128
views
How do I use webworkers in Webpack with libraryTaget being 'amd'
We are using Webpack 5 to build small micro apps within a bigger web app using amd as libraryTarget to deploy things independently.
I wanted to refactor some code within a micro app to use web workers ...
0
votes
1
answer
576
views
Is it possible to retrieve all imported objects in ES6 modules?
With RequireJS, you can do something like:
define(['a', 'b', 'c'], function(a, b, c) {
console.log(arguments);
}
Is it possible to do something similar for an ES6 module? Ex:
import a from 'a.js'...
0
votes
1
answer
262
views
Error: requireJS config is not a function
My Project structure looks like this -
src
|- main.js
|- math.js
math.js is just an AMD module and I am requiring it in main.js
I have installed require.js using npm and requiring it in main.js
//...
3
votes
0
answers
298
views
Import npm package with AMD API structure inside Vite esnext project
I'm developing an Azure DevOps extension and for that I must use packages azure-devops-extension-sdk and azure-devops-extension-api. I'm using svelte with typescript and when I'm trying to import the ...
0
votes
1
answer
615
views
How to detect `eval` calls when addressing UI5 modules at runtime?
As part of the preparation for the "Asynchronous Module Loading" enablement in FLP, one of its prerequisites is making sure that no eval call is triggered due to the HTML document being ...
3
votes
1
answer
5k
views
How to Fix "String as JavaScript" Errors in FLP? (Async Module Loading)
The "Browser Settings" section from the "Site Settings" page of the launchpad in SAP Build Work Zone has now enabled the "Asynchronous Module Loading" by default for new ...
1
vote
1
answer
428
views
Required module is undefined. How do I detect cyclic dependencies in UI5?
Given:
sap.ui.define([ // in my/ModuleA.js
// "...",
"./ModuleB",
], function (/*...,*/ModuleB) {
// ... ModuleB is undefined here
return/*...*/;
});
sap.ui....
0
votes
1
answer
31
views
Access AMD compiled TypeScript from external JavaScript
I have compiled some TypeScript from a single Engine.ts file, which I could easily access from JavaScript afterwards.
Engine.ts
class BaseObject {
}
class ExtendedObject extends BaseObject {
...
1
vote
0
answers
317
views
How to configure webpack to generate SuiteScript compatibile modules?
I am trying to use webpack to bundle a few libraries into my typescript suitelet.
Netsuite expects suitescripts to follow amd modules pattern. If I use tsc tocompile my suitelet, I get correct syntax ...
1
vote
0
answers
1k
views
Why require.js keep giving me script error without reason?
Why require.js keep giving me script error without reason?
I'm using require.js right now, I'm using amd and let typescript help me to put all compiled file into one File named 'index.js', but I'm ...
0
votes
0
answers
364
views
How to add babel and polyfills to a RequireJs project?
I am working on a legacy project which uses RequireJs to load and resolve all the dependencies. It works fine on modern browsers, but i need to add support for IE11.
I tried to use babel 7 with @babel/...
0
votes
1
answer
58
views
How to use Javascript module in typescript [duplicate]
I have a third-party Javascript module that is done in AMD way. I do not have typing file (type.d) for it nor I can create the typing file.
But I need to use the module in one of the typescript How ...
0
votes
1
answer
344
views
Can asynchronous module definitions be used with abstract syntax trees on v8 engine to read third party dependencies? This is for Cloudflare Workers
I understand eval string-to-function is impossible to use on the browsers' application programming interfaces, but there must be another strategy to use third party dependencies without node.js on v8 ...
0
votes
1
answer
323
views
How do I add Chart.js into a custom plugin in Moodle?
I am creating a custom plugin in Moodle and I have successfully integrated Chart.js. It works perfectly in my development environment when the cache is disabled. But when I turn on my cache, the below ...
1
vote
0
answers
129
views
Vscode intellisense AMD requirejs durandal
i am running an app in aspnetcore which uses plain js files for the view part,
in this case is a legacy app using :
jquery
Requirejs with AMD modules
Durandal (now aurelia) which enforces the use of ...
1
vote
1
answer
913
views
Fragment won't open due to the error "Cannot instantiate object: 'new' is missing!"
Unfortunately, my fragment page won't open.
Trying to open a select dialogue (fragment with table) after a button press.
Here is the error:
formatter function sap.f....
0
votes
1
answer
94
views
Converting test project from AMD to ES6 causes issue Qunit Asynctest cases
I am migrating/converting my test utilities project to ES6.
I am using "@types/qunit": "^2.0.31" version to execute async test cases.
All went well before conversion but after ...
0
votes
1
answer
160
views
RequireJS + Mocha + JSDom + Node -> Shim config not supported in Node
I'm trying to setup a Mocha testing framework using JSDom with RequireJS. Because I'm running the test on node instead of using a browser (since I'm using JSDom), all the non AMD modules doesn't seem ...
0
votes
1
answer
712
views
How to get require(packagename) to work, Error: Can't resolve 'api/DefaultApi' in react
I have a new package to add to my build for a React SPA. I'm using package.json, webpack 3.x and npm. The instructions for the package are:
To use the library locally without publishing to a remote ...
0
votes
0
answers
96
views
r.js: How to uglify and concatenate all amd modules into a single file?
My project workspace looks something like this.
Modules
|--> Src
| |--> Application
| | |--> Application.js
| |--> Home
| | |--> Home.js
| |--> Utils
| | ...
1
vote
2
answers
327
views
Babel transpiles javascript and adds a define([], function(){}) around the output. How do I prevent this?
I'm trying to transpile ES6 files to ES5 by using Babel. These output files are being used by RequireJS (Magento 2) and I'm stuck on one issue.
Configuration for Babel:
const presets = [
[
...
0
votes
1
answer
1k
views
define is not defined while build nextjs app
i'm using next version 10.0.1, and react 17.0.2,
When i'm trying build my next app, i get an error:
ReferenceError: define is not defined
at Object.<anonymous> (/Users/***/Desktop/gm/toesim-...
5
votes
1
answer
199
views
How to load an existing custom lib which is having non AMD and AMD library using requireJS
In my project, there is a custom third-party library (a single build file), which they have created using a couple of non-AMD and AMD files. And most of the properties are exposed directly to window ...
0
votes
1
answer
212
views
Typescript AMD modules - scripts are not running
I'm working on my Chrome extension and I want to add typescript to my project. So far I've been able to build my app without any compile/runtime errors (using require.js) this way:
tsconfig-bg.json (...
0
votes
1
answer
659
views
Cannot read property 'createPromiseCapability' of undefined
I'm trying to use ngx-extended-pdf-viewer in an Angular project that uses amd.min.js as an dependency. If I remove amd as an dependency it's working fine. But sadly I can't remove it as, a lot of ...
1
vote
0
answers
311
views
"requestAnimationFrame" in monaco editor appears and increase constantly
I am working in a implementation of monaco editor. Everything works good but in the console appears the next warning:
[Violation] 'requestAnimationFrame' handler took 50ms
and marks that line:
/**...