Comments (2)
When the change #4210 is merged, the issue can be reproduced by just running a Debug build slangc.exe; not Release.
Here is an example,
$ build/Debug/bin/slangc.exe
Detected memory leaks!
Dumping objects ->
{1319712} normal block at 0x0000021ACE6BE010, 48 bytes long.
Data: <`\& > 60 5C 26 C4 1A 02 00 00 00 00 00 00 00 00 00 00
{3949} normal block at 0x0000021AC4265C60, 48 bytes long.
Data: < k > 00 00 00 00 00 00 00 00 10 E0 6B CE 1A 02 00 00
{3948} normal block at 0x0000021AC425F420, 32 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00
{3947} normal block at 0x0000021AC4201C50, 1024 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{3921} normal block at 0x0000021AC420B4C0, 904 bytes long.
Data: <X a > 58 D1 61 F5 FA 7F 00 00 01 00 00 00 00 00 00 00
{234} normal block at 0x0000021AC41DBED0, 1024 bytes long.
Data: < 7 > 80 37 92 F5 FA 7F 00 00 D4 A6 A7 F5 FA 7F 00 00
{215} normal block at 0x0000021AC41DBA90, 1024 bytes long.
Data: < > 10 AC 91 F5 FA 7F 00 00 C0 BE A7 F5 FA 7F 00 00
{200} normal block at 0x0000021AC41DB650, 1024 bytes long.
Data: < > FC A6 91 F5 FA 7F 00 00 B4 A6 A7 F5 FA 7F 00 00
{190} normal block at 0x0000021AC41DB210, 1024 bytes long.
Data: < > E0 A1 91 F5 FA 7F 00 00 D0 A6 A7 F5 FA 7F 00 00
{169} normal block at 0x0000021AC41DADD0, 1024 bytes long.
Data: < > 90 9B 91 F5 FA 7F 00 00 B4 A6 A7 F5 FA 7F 00 00
{168} normal block at 0x0000021AC41DAB80, 528 bytes long.
Data: < > 00 00 00 00 00 00 00 00 90 AB 1D C4 1A 02 00 00
{163} normal block at 0x0000021AC41BF030, 128 bytes long.
Data: < > 00 00 00 00 00 00 00 FC FF 00 00 00 00 00 00 00
{161} normal block at 0x0000021AC41BF7B0, 128 bytes long.
Data: < > FC 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.
The message above shows 13 objects were still using memory when slangc.exe was about to exit.
from slang.
Related Issues (20)
- AD Cleanup: Fix confusing naming conventions for synthesized methods and types
- AD Cleanup: Cleanup `slang-ir-autodiff-unzip.cpp` & `slang-ir-autodiff-unzip.h`
- AD Cleanup: Avoid dealing with invalid IR by representing out-of-scope accesses through `Push` and `Pop` instructions
- Add OpCapability only once
- AD Cleanup: CFG normalization replaces break statements with a boolean break flag `bflag`, but this currently means the opposite of what it should
- AD Cleanup: break-elimination during the CFG normalization step can cause the loop condition to be evaluated an extra time.
- Lower CMake version requirement
- GLSL texture functions need to support int and uint types of samplers as well as float HOT 1
- AD Enhancement: Avoid SSA-ing aggregate types by treating pointer-based element & field accesses as if they were differentiable method calls.
- AD Enhancement: Enhance DCE to avoid situations where mutating primal methods are called multiple times during the reverse-mode pass, potentially causing slow-down
- [] operator partially supported for Texture2DMS HOT 3
- .mips operator function not supported Texture2D HOT 1
- Consider supporting #pragma pack_matrix() HOT 1
- Capability System: Profile and look into performance with larger systems
- Metal: support integer type texture
- Create the breakdown profiling of slang HOT 2
- AD Cleanup: Use a temporary accumulation inst such as `IRAccumulate` instead of explicitly loading, adding and storing differential values in reverse mode HOT 1
- Implement metrics tracking for GitHub engagement
- Document the existing auto-diff type system, semantic checking and AST synthesis methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slang.